FruxonDocs
AgentsExecution Records

Lists the sub-task runs spawned by this execution (e.g

Connects a parent run's trace to the child runs it spawned, so the UI can navigate into each sub-task's own trace. Empty for runs that spawned no sub-tasks.

GET
/v1/tenants/{tenant}/agents/{agent}/executionRecords/{executionRecord}/children
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

executionRecord*string

The parent execution record identifier.

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/executionRecords/string/children"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "agentId": "string",
      "agentRevision": 0,
      "remoteAgentRevision": "string",
      "startTime": 0,
      "endTime": 0,
      "status": "IN_PROGRESS",
      "deliveryStatus": "NOT_APPLICABLE",
      "inputTokens": 0,
      "outputTokens": 0,
      "cachedTokens": 0,
      "cacheWriteTokens": 0,
      "webSearchCalls": 0,
      "hasResult": false,
      "hasTrace": false,
      "isSample": false,
      "trigger": {
        "type": "UNSPECIFIED",
        "id": "string",
        "provider": "string",
        "triggerFireAttemptId": null,
        "participantId": null,
        "displayName": "string",
        "participantDisplayName": "string",
        "participantKind": null,
        "participantAvatarFileId": "string",
        "pipelineId": null,
        "ledgerItemId": null,
        "ledgerBatchId": null
      },
      "destinations": [],
      "environmentSlug": "string",
      "networkId": "00000000-0000-0000-0000-000000000000",
      "createdAt": 0,
      "tenantId": "00000000-0000-0000-0000-000000000000",
      "parentExecutionRecordId": "00000000-0000-0000-0000-000000000000",
      "parentAgentId": "string",
      "parentSubject": "string",
      "parentAsyncOperationId": "00000000-0000-0000-0000-000000000000",
      "rootExecutionId": "00000000-0000-0000-0000-000000000000",
      "automationId": "00000000-0000-0000-0000-000000000000",
      "automationGoverned": false,
      "runType": "ROOT",
      "subject": "string",
      "inputCost": 0,
      "outputCost": 0,
      "cachedCost": 0,
      "cacheWriteCost": 0,
      "thinkingCost": 0,
      "webSearchCost": 0,
      "totalCost": 0,
      "creditsCharged": 0,
      "creditsRefunded": 0,
      "waitingFor": {
        "kind": "string",
        "participantId": null,
        "displayName": "string",
        "participantKind": null,
        "avatarFileId": "string",
        "topicId": null,
        "approvalRequestId": null,
        "humanTaskId": null,
        "question": "string",
        "delivery": null,
        "approvers": null,
        "childCount": null,
        "resumesAt": null,
        "attempt": null,
        "maxAttempts": null,
        "waitingSince": 0,
        "expiresAt": null
      },
      "relevanceOutcome": "RESPOND",
      "relevanceReason": "string",
      "groupParticipantId": "00000000-0000-0000-0000-000000000000",
      "wasAddressed": false,
      "rejectionReason": "BUDGET_EXCEEDED",
      "rejectionDetail": "string",
      "rejectionAttemptCount": 0,
      "cancellationReason": "SUPERSEDED",
      "cancellationDetail": "string",
      "cancelledBy": "string",
      "supersededByExecutionId": "00000000-0000-0000-0000-000000000000"
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}