FruxonDocs
ApiWorkflow runs

Gets one Workflow run summary.

Returns status, timing, token usage, and cost metadata for a single run. The run must belong to the Workflow identified in the route.

GET
/v1/tenants/{tenant}/workflows/{workflow}/runs/{run}
AuthorizationBearer <token>

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

In: header

Path Parameters

workflow*string

The unique identifier of the Workflow.

run*string

The unique identifier of the Workflow run.

tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/workflows/string/runs/string"
{
  "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": "API",
    "id": "string",
    "provider": "string",
    "triggerFireAttemptId": "00000000-0000-0000-0000-000000000000",
    "participantId": "00000000-0000-0000-0000-000000000000",
    "displayName": "string",
    "participantDisplayName": "string",
    "participantKind": "PERSON",
    "participantAvatarFileId": "string",
    "pipelineId": "00000000-0000-0000-0000-000000000000"
  },
  "destinations": [
    {
      "connectorId": "string",
      "provider": "string",
      "status": "NOT_APPLICABLE",
      "errorClass": "string",
      "errorMessage": "string",
      "attemptedAt": 0
    }
  ],
  "environmentSlug": "string",
  "networkId": "00000000-0000-0000-0000-000000000000",
  "createdAt": 0,
  "tenantId": "00000000-0000-0000-0000-000000000000",
  "parentExecutionRecordId": "00000000-0000-0000-0000-000000000000",
  "rootExecutionId": "00000000-0000-0000-0000-000000000000",
  "inputCost": 0,
  "outputCost": 0,
  "cachedCost": 0,
  "cacheWriteCost": 0,
  "thinkingCost": 0,
  "webSearchCost": 0,
  "totalCost": 0,
  "waitingFor": {
    "kind": "string",
    "participantId": "00000000-0000-0000-0000-000000000000",
    "displayName": "string",
    "participantKind": "PERSON",
    "avatarFileId": "string",
    "topicId": "00000000-0000-0000-0000-000000000000",
    "approvalRequestId": "00000000-0000-0000-0000-000000000000",
    "approvers": [
      "string"
    ]
  },
  "relevanceOutcome": "RESPOND",
  "relevanceReason": "string",
  "groupParticipantId": "00000000-0000-0000-0000-000000000000",
  "wasAddressed": false
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}