Runs

List a run's events

GET
/api/v1/orchestrations/runs/{run_id}/events

The run's recorded events, oldest first — the run log, as JSON. Pass after to read only what came after an event; the answer's last_id is the value to pass next time. Treat both as an opaque cursor: on SynapseOrch Cloud, and for a self-hosted scale-mode run, they are stream ids such as "1790249607455-0".

apiKey
headerAuthorizationBearer <token>

An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.

run_id*string

The run.

after?string

Return the events after this one; 0 (the default) is from the start.

Lengthlength <= 64
Default"0"
limit?integer

The most events to return, up to and by default 5000.

Range1 <= value <= 5000
Default5000

Response Body

The events.

application/json
  1. response
events?array<>
last_id?integer
run?
curl -X GET "https://api.synapseorch.com/api/v1/orchestrations/runs/run_01a10a1553d57036bae3d17421a4ba16/events" \  -H "Authorization: Bearer sk-syn-..."
{  "events": [    {      "id": 1,      "type": "orchestration_start",      "...": "..."    }  ],  "last_id": 42,  "run": {    "status": "completed",    "...": "..."  }}