Runs
List a run's events
GET
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".
apiKeyheader
AuthorizationBearer <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*stringThe run.
after?stringReturn the events after this one; 0 (the default) is from the start.
Length
length <= 64Default
"0"limit?integerThe most events to return, up to and by default 5000.
Range
1 <= value <= 5000Default
5000The events.
application/json- response
events?array<>last_id?integerrun?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", "...": "..." }}