Executions
Continue or approve
Answer a paused run’s question or approve its held action.
answer replies to a question (or denies / redirects an approval); approve: true approves the pending action with the stored token. allow_scope (approve only): once this call, run the tool for the rest of the run, always is the bot’s stored rule (set it with PUT /v1/workflows/{id}/permissions); any other value is once. Runs inline: up to ~30 s while an approved action executes.
Authorizations
Authorization: Bearer ozk_…. ozk_ platform API key (Authorization: Bearer ozk_…)Path parameters
exec-…)Body
application/jsontext/yaml
Maximum string length: 65536
Available options: once, run, always
Available options: json, yaml, markdown, text
Response
The agent’s reply 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
missing_answer — neither answer nor approve: true; invalid_params; invalid_format / invalid_json / invalid_yaml — unreadable body or unknown format
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
not_paused — the run already completed; use …/followup
application/json
session_expired — no conversation session (expired, or not a conversational agent)
application/json
continue_failed — the agent could not continue; retry; upstream_error — a store failed; no detail is returned, retry shortly
application/json