FruxonDocs
Agent NetworkTriggers

Gets one stage test.

While the run is going, the status says so; once it ends, the verdict says what the ledger would have done with the answer, beside the writes the simulator absorbed and what the run cost.

GET
/v1/tenants/{tenant}/triggers/{trigger}/stageTests/{stageTest}
AuthorizationBearer <token>

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

In: header

Path Parameters

trigger*string

The trigger identifier.

Formatuuid
stageTest*string

The stage test identifier.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/stageTests/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "00000000-0000-0000-0000-000000000000",
  "walkId": "00000000-0000-0000-0000-000000000000",
  "step": 0,
  "previousTestId": "00000000-0000-0000-0000-000000000000",
  "stageIndex": 0,
  "stageId": "string",
  "stageName": "string",
  "status": "QUEUED",
  "seedKind": "ITEM",
  "seedItemId": "00000000-0000-0000-0000-000000000000",
  "itemKey": "string",
  "fromDraft": false,
  "input": null,
  "userQuery": "string",
  "reply": "string",
  "agentId": "string",
  "agentRevision": 0,
  "routingDefault": "NONE",
  "routingOverrides": {},
  "executionRecordId": "00000000-0000-0000-0000-000000000000",
  "output": "string",
  "verdict": {
    "kind": "ADVANCE",
    "toStatus": "READY",
    "cause": "string",
    "detail": "string",
    "failedCheck": "RUN",
    "attempt": 0,
    "maxAttempts": 0,
    "nextStageId": "string",
    "routed": false,
    "produced": null,
    "dataAfter": null,
    "dedupeKey": "string",
    "dedupeKeyIncomplete": false,
    "duplicateOf": "string",
    "nextStageMissing": [
      "string"
    ],
    "sink": {
      "stageId": "string",
      "kinds": [
        "UNSPECIFIED"
      ],
      "target": "string"
    }
  },
  "simulatedCalls": [
    {
      "integrationId": "string",
      "toolKey": "string",
      "operation": "CREATE",
      "simulatedEntityId": "00000000-0000-0000-0000-000000000000",
      "createdAt": 0
    }
  ],
  "cost": 0,
  "durationMs": 0,
  "warnings": [
    "string"
  ],
  "createdAt": 0,
  "completedAt": 0,
  "expiresAt": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}