Headless LMS

List an automation's runs — a deleted automation's runs remain reachable (audit trail)

GET
/api/automations/{id}/runs

Path Parameters

id*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 100
Default20
search?string
sort?string
status?string

Value in

  • "running"
  • "completed"
  • "failed"

Response Body

application/json

curl -X GET "https://example.com/api/automations/string/runs"
{  "rows": [    {      "id": "string",      "orgId": "string",      "automationId": "string",      "trigger": "string",      "event": {        "property1": null,        "property2": null      },      "status": "running",      "actionResults": [        {          "index": -9007199254740991,          "type": "string",          "status": "completed",          "error": "string"        }      ],      "startedAt": "string",      "finishedAt": "string"    }  ],  "total": -9007199254740991,  "page": -9007199254740991,  "pageSize": -9007199254740991}