Skip to main content
objectRunSubagent

Fields

id
ID!

Stable identifier of this child session.

runId
ID!

Identifier of the owning run.

attemptId
ID!

Identifier of the owning run attempt.

nativeId
String!

Provider identifier of the child agent.

parentNativeId
String

Provider identifier of its parent agent, when nested.

toolUseId
String

Provider tool call that spawned the agent.

label
String!

Human-readable task description.

agentType
String

Provider agent type, when known.

status
String!

Observed execution status, or UNKNOWN.

prompt
String

Initial task given to this agent.

finalOutput
String

Final response produced by this agent.

startedAt
String

Time this agent started, when known.

finishedAt
String

Time this agent finished, when known.

transcriptStatus
String!

AVAILABLE, PARTIAL, or UNAVAILABLE transcript coverage.

transcriptError
String

Transcript collection error, when available.

messageCount
Int!

Number of stored provider messages.

updatedAt
String!

Time this agent's stored session last changed.