Runs
List a run's events
GET
The run's stored events as JSON, {id, event} each, oldest first — the run log. start and end are event ids, inclusive; - and + mean the first and the last.
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.
start?stringThe first event id to return; - (the default) is the first event.
Length
length <= 64Default
"-"end?stringThe last event id to return; + (the default) is the last event.
Length
length <= 64Default
"+"The events.
application/json- response
run_id?stringcount?integerevents?array<>curl -X GET "https://api.synapseorch.com/api/v2/orchestrations/runs/run_01a10a1553d57036bae3d17421a4ba16/events" \ -H "Authorization: Bearer sk-syn-..."{ "run_id": "run_01a111a910667216b459f4b6e770eec6", "count": 2, "events": [ { "id": "1790249607461-0", "event": { "type": "orchestration_start", "run_id": "run_01a111a910667216b459f4b6e770eec6", "orchestration_name": "Echo" } }, { "id": "1790249607470-0", "event": { "type": "step_start", "orch_step_id": "p", "step_name": "P", "step_type": "print" } } ]}