Workflows

List workflow runs

Newest first, by workflow, status or contact. Kept retention.toml [global] workflow_runs after they end. `trigger` is empty for a caller without `audience`.

GET
/workflow-runs

Newest first, by workflow, status or contact. Kept retention.toml [global] workflow_runs after they end. trigger is empty for a caller without audience.

Authorization

bearer
headerAuthorizationBearer <token>

Query Parameters

workflow_id?string
Formatuuid
status?string

running, waiting, completed, canceled or failed.

contact_id?string
Formatuuid
limit?integer
Range0 <= value
after?string

The last id of the previous page (newest first).

Formatuuid

Response Body

Success

application/json
  1. response

A list response (object: "list").

data*array<>
has_more*boolean
object*string
Example Request
curl -X GET 'https://api.exx.sh/workflow-runs'
Example Response
{  "data": [    {      "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",      "created_at": "string",      "current_step": "string",      "end_reason": "string",      "ended_at": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "string",      "status": "string",      "steps": [        {          "execution": 0,          "finished_at": "string",          "kind": "string",          "outcome": "string",          "result": {},          "started_at": "string",          "status": "string",          "step_id": "string"        }      ],      "trigger": {},      "updated_at": "string",      "version": 0,      "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"    }  ],  "has_more": true,  "object": "string"}