childAgentRunsByParentConversation

List child agent runs.

Arguments

  • conversationIdID!required

  • spawnedFromToolCallIdString

  • limitInt

  • cursorString

Responses

query ChildAgentRunsByParentConversation($conversationId: ID!) {  childAgentRunsByParentConversation(conversationId: $conversationId) {    data {      runId      conversationId      messageId      projectId      requestedByUserId      triggerPrincipalType      triggerPrincipalId      agentId      status      implementationKind      workerKey      sourceTargetKind      sourceTargetEnvironmentId      sourceTargetBranchId      sourceTargetReleaseVersion      runtimeTargetKind      runtimeTargetEnvironmentId      runtimeTargetBranchId      parentConversationId      parentRunId      spawnedFromMessageId      spawnedFromToolCallId      inputAnchorMessageId      handoffMessageId      resolvedDeploymentId      latestEventId      latestExternalEventSequence      waitingToolCallId      waitingToolName      terminalErrorCode      terminalErrorMessage      createdAt      startedAt      finishedAt      runSnapshot    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "childAgentRunsByParentConversation": {      "data": [        {          "runId": "string",          "conversationId": "string",          "messageId": "string",          "projectId": "string",          "requestedByUserId": "string",          "triggerPrincipalType": "string",          "triggerPrincipalId": "string",          "agentId": "string",          "status": "string",          "implementationKind": "string",          "workerKey": "string",          "sourceTargetKind": "string",          "sourceTargetEnvironmentId": "string",          "sourceTargetBranchId": "string",          "sourceTargetReleaseVersion": "string",          "runtimeTargetKind": "string",          "runtimeTargetEnvironmentId": "string",          "runtimeTargetBranchId": "string",          "parentConversationId": "string",          "parentRunId": "string",          "spawnedFromMessageId": "string",          "spawnedFromToolCallId": "string",          "inputAnchorMessageId": "string",          "handoffMessageId": "string",          "resolvedDeploymentId": "string",          "latestEventId": 0,          "latestExternalEventSequence": 0,          "waitingToolCallId": "string",          "waitingToolName": "string",          "terminalErrorCode": "string",          "terminalErrorMessage": "string",          "createdAt": "string",          "startedAt": "string",          "finishedAt": "string",          "runSnapshot": {}        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The AgentRunConnection! in data.childAgentRunsByParentConversation.