Sazabi
APIAutomations

Get an automation run

GET
/automations/{automationId}/runs/{runId}

Get a single automation run by ID.

Path Parameters

automationId*string

Automation ID.

Formatuuid
runId*string

Automation run ID.

Formatuuid

Query Parameters

projectId?string

Project that owns the automation. Auto-filled from CLI and SDK context when omitted.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "run": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "automationRunKey": "string",    "status": "running",    "startedAt": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z",    "durationMs": -9007199254740991,    "exitCode": -9007199254740991,    "scheduledAt": "2019-08-24T14:15:22Z",    "dueAt": "2019-08-24T14:15:22Z",    "errorMessage": "string",    "automationId": "de580a02-68f2-4f04-b675-19968bf358e1"  }}