API ReferenceReferenceAgents
Poll a run
The state of a run started with async: true (or any run of yours). running until it settles, then completed with output or failed with error. An execution from another organization is the same 404 as an unknown id. Requires any of the agents:read, apps:read or flows:read scopes.
Authorization
apiKey AuthorizationBearer <token>
An organization API key, created from a Portal's Webhooks page (Provisioning API card). The secret is shown once at creation and stored only as a hash. Keys are organization-wide and carry scopes (end_users:read, end_users:write). Rate limit: 120 requests per minute per key (sliding 60-second window).
In: header
Path Parameters
executionId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/executions/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "execution_id": "02ca5b65-a269-4c45-8d4a-0c74ff3ae670", "status": "running", "output": "string", "error": "string", "trace": {}, "agent": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "app": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "flow": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "callback": { "url": "string", "delivered": true, "attempts": 0, "lastStatus": 0, "delivered_at": "2019-08-24T14:15:22Z" }, "started_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}