Skip to main content

Get one Oliver run.

GET/api/v1/oliver-runs/{oliver_run_id}oliver:run

The run's status, its answer, its error, the question or approval it waits on (pending), its steps, its sub-agent runs and its usage (tokens, cost and context-window breakdown). Another user's run is 403 naming its ID. Requires the conversation, run, tool history, tool request and tool result read permissions.

Scopeoliver:run
AsynchronousNo
MCP toolget_oliver_run
Portal permissionsview_oliver_conversations, view_oliver_runs, view_oliver_tool_execution_history, view_oliver_tool_requests, view_oliver_tool_results

Parameters​

NameInTypeRequiredDescription
oliver_run_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json OliverRun
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

OliverContextBreakdown​

FieldTypeRequiredDescription
latest_user_message_percentintegerRequired≥ -2147483648; ≤ 2147483647
memory_topics_percentinteger or nullRequiredThe memory topics in the system instructions; null when the agent's prompt carries none.
messages_percentintegerRequiredThe conversation so far. ≥ -2147483648; ≤ 2147483647
system_instructions_percentintegerRequired≥ -2147483648; ≤ 2147483647
tool_definitions_percentintegerRequired≥ -2147483648; ≤ 2147483647

OliverContextWindow​

FieldTypeRequiredDescription
breakdownOliverContextBreakdownRequired
compaction_buffer_percentinteger or nullRequiredPercent of the window kept free before the conversation is compacted.
model_namestringRequired
used_percentintegerRequiredPercent of the model's context window the latest prompt filled. ≥ -2147483648; ≤ 2147483647

OliverRun​

FieldTypeRequiredDescription
agent_namestring or nullRequired
answerOliverRunAnswer or nullRequired
child_runsarray of OliverRunChildRequired
created_atstring (date-time) or nullRequired
errorOliverRunError or nullRequiredWhy the run failed; null unless it failed.
is_finishedbooleanRequired
oliver_agent_idstring or nullRequired
oliver_run_idstringRequired
oliver_thread_idstringRequired
originstring or nullRequired
parent_oliver_run_idstring or nullRequiredThe run that delegated to this one, for a sub-agent run.
pendingOliverRunPending or nullRequiredThe question or approval the run waits on; null otherwise.
permission_modestringRequiredask or auto.
progressive_waitOliverRunProgressiveWait or nullRequiredA progressive run only: why it stopped and the checkpoint revision that resumes it (resume_oliver_run); null for a standard run.
statusstringRequiredplanning, executing, running, waiting_for_user, waiting_for_surface_save, waiting_for_closure, paused, completed, failed or cancelled (open).
stepsarray of OliverRunStepRequired
updated_atstring (date-time) or nullRequired
usageOliverRunUsageRequiredThe tokens and cost of the messages the run wrote, and the context-window breakdown of its latest call. The tool calls are listed by list_oliver_run_tool_calls.
waiting_forstring or nullRequiredWhat the run waits for, when it is paused on something other than an answer.

OliverRunAnswer​

FieldTypeRequiredDescription
from_sub_agentbooleanRequiredTrue when the answer is a sub-agent's reply the run delegated to.
is_finalbooleanRequiredTrue once the run has completed.
oliver_message_idstringRequired
oliver_thread_idstring or nullRequiredThe sub-agent's thread, when from_sub_agent is true.
textstringRequired

OliverRunChild​

FieldTypeRequiredDescription
agent_namestring or nullRequired
oliver_run_idstringRequired
oliver_thread_idstringRequired
statusstringRequired
usageOliverRunUsageRequiredWhat the sub-agent run cost and how full its context window was.

OliverRunError​

FieldTypeRequiredDescription
errorstring or nullRequiredThe error the dispatch recorded.
step_summarystring or nullRequiredThe summary of the failed step.

OliverRunPending​

FieldTypeRequiredDescription
asked_by_sub_agentbooleanRequiredTrue when a sub-agent asked; the answer goes to it.
detailsobjectRequiredWhat the agent proposes, as it stated it (an approval's operation summary, risk level and so on).
gated_toolstring or nullRequiredThe tool an approval holds.
kindstringRequiredapproval or clarification (open).
multi_selectbooleanRequired
questionstring or nullRequiredThe question a clarification asks.
stepsarray of OliverRunQuestionStepRequired
suggestionsarray of stringRequired
tool_call_keystringRequiredQuote it in respond.

OliverRunProgressiveWait​

FieldTypeRequiredDescription
blocked_codestring or nullRequiredWhy no resume is accepted yet (for example ReconciliationRequired); null when one is.
resume_reasonstring or nullRequiredcontinue when resume_oliver_run is accepted now; null when no resume is accepted yet.
state_revisionintegerRequiredThe checkpoint revision the run stopped at: send it as expected_state_revision to resume_oliver_run. ≥ -2147483648; ≤ 2147483647
wait_codestring or nullRequiredThe reason code of the wait.
wait_kindstring or nullRequiredWhat the run waits for, as the runtime recorded it; null when it is not waiting.

OliverRunQuestionStep​

FieldTypeRequiredDescription
multi_selectbooleanRequired
questionstringRequired
step_keystringRequiredThe step's key: the step_answers key.
suggestionsarray of stringRequired

OliverRunStep​

FieldTypeRequiredDescription
capabilitystring or nullRequired
created_atstring (date-time) or nullRequired
kindstringRequired
output_summarystring or nullRequired
seqintegerRequired≥ -2147483648; ≤ 2147483647
statusstringRequired

OliverRunUsage​

FieldTypeRequiredDescription
context_windowOliverContextWindow or nullRequiredHow full the model's context window was at the run's latest call; null until the run has made one.
coststring or nullRequiredWhat the run's model calls cost, as the Portal records it for the chat; null when none was recorded.
reasoning_tokensintegerRequired≥ -2147483648; ≤ 2147483647
request_tokensintegerRequiredTokens sent to the model across the messages the run wrote. ≥ -2147483648; ≤ 2147483647
response_tokensintegerRequired≥ -2147483648; ≤ 2147483647