RelayAPI

List runs for an automation

GET
/v1/automations/{id}/runs
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_*)

In: header

Path Parameters

id*string

Query Parameters

cursor?string
limit?integer
Range1 <= value <= 100
Default20
status?string
contact_id?string
started_after?string
Formatdate-time
started_before?string
Formatdate-time

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/automations/string/runs"
{  "data": [    {      "id": "string",      "automation_id": "string",      "organization_id": "string",      "entrypoint_id": "string",      "binding_id": "string",      "contact_id": "string",      "conversation_id": "string",      "status": "string",      "current_node_key": "string",      "current_port_key": "string",      "context": {        "property1": null,        "property2": null      },      "waiting_until": "string",      "waiting_for": "string",      "exit_reason": "string",      "started_at": "string",      "completed_at": "string",      "updated_at": "string"    }  ],  "next_cursor": "string",  "has_more": true}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo