Executions
Get an execution
Status of an execution (poll this).
status is the run’s state; a run that finished its turn and waits on the user reads needs_input (a question) or needs_approval (a held action) with the continuation — answer it with POST …/continue.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
exec-…)Query parameters
Available options: json, yaml, markdown, text
on_behalf_of): its output sits under <your account>:cust:<id>. 1-128 characters of A-Z a-z 0-9 _ . - (no ".."); a bad value is 400 invalid_on_behalf_of. The run itself must still be yours. Honoured by the status, output and files reads only: continue, followup, steer, stream and conversation look under your own tenant.Minimum string length: 1 Maximum string length: 128
Response
Execution status Response format negotiates via the format field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
application/jsontext/yamltext/markdowntext/plain
invalid_on_behalf_of — not a valid customer id
application/json
unauthorized — missing, invalid or revoked ozk_ key
application/json
execution_not_found — no execution with that id for this key (a foreign id answers the same); not_found — no route for this method on this path: every other method answers it
application/json
upstream_error — a store failed; no detail is returned, retry shortly
application/json