APIAutomations
List automation runs
List runs for an automation, most recent first.
Path Parameters
automationId*string
Automation ID.
Format
uuidQuery Parameters
projectId?string
Project that owns the automation. Auto-filled from CLI and SDK context when omitted.
Format
uuidstatus?|array<>
Filter runs by status. Accepts a single status or an array of statuses (matched as OR).
cursor?string
Cursor from a previous response's nextCursor to fetch the next page.
limit?integer
Maximum number of runs to return per page.
Range
1 <= value <= 100Default
50Response Body
application/json
curl -X GET "https://example.com/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs"{ "runs": [ { "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" } ], "nextCursor": "string", "recordedHistoryStartsAt": "2019-08-24T14:15:22Z"}