childAgentRunsConnection(conversationId: ID!, parentRunId: ID!, spawnedFromToolCallId: String, limit: Int, cursor: String): AgentRunConnection!
Arguments
Response
Returns AgentRunConnection!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query ChildAgentRunsConnection($conversationId: ID!, $parentRunId: ID!, $spawnedFromToolCallId: String, $limit: Int, $cursor: String) {
childAgentRunsConnection(conversationId: $conversationId, parentRunId: $parentRunId, spawnedFromToolCallId: $spawnedFromToolCallId, limit: $limit, cursor: $cursor) {
data {
projectId
runId
agentId
status
createdAt
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{
"conversationId": "00000000-0000-4000-8000-000000000001",
"parentRunId": "00000000-0000-4000-8000-000000000001"
}