メインコンテンツまでスキップ

Answer an approval or question, or cancel an Oliver run.

POST/api/v1/oliver-runs/{oliver_run_id}/respondoliver:run
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

approve or deny an approval, answer a question (answer, selections or step_answers as the question asks), or cancel the run and its sub-agent runs. tool_call_key is the pending.tool_call_key. images attaches pictures to the answer (not with cancel), through the Portal's inject-image, and needs Inject Oliver Images. A question the run is not waiting on is 409. Requires Resume Oliver Runs or Cancel Oliver Runs for the selected action; resuming also needs Execute Oliver Tools.

スコープoliver:run
非同期いいえ
MCP ツールrespond_oliver_run

パラメーター​

名前場所型必須説明
oliver_run_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonOliverRunRespondInput

応答​

ステータス説明本文
200Success.application/json OliverRunResult または object
400invalid_version, malformed_jsonapplication/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
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

OliverMessageImageInput​

フィールド型必須説明
captionstring または null任意What the image shows, for the agent; default "User attached image".
datastring必須The image bytes, base64; a data URL is accepted. PNG, JPEG, GIF or WebP.

OliverRunRespondInput​

フィールド型必須説明
actionstring必須approve or deny for an approval; answer for a question; cancel to stop the run.
answerstring または null任意The answer to a question; required unless steps or selections answer it.
commentstring または null任意A note with an approval or refusal.
imagesOliverMessageImageInput の配列任意Pictures to attach to your answer, as the chat's attach button does for a question the run waits on (a screenshot it asked for): each base64 with an optional caption, within get_company_settings_oliver_image_limits. One batch per waiting turn. Not with cancel.
selectionsstring の配列任意The choices of a question that allows several.
step_answersobject任意The answer to each step of a question with steps, by step_key.
tool_call_keystring または null任意pending.tool_call_key of the approval or question; required for approve, deny and answer.

OliverRunResult​

フィールド型必須説明
acceptedboolean必須True when the answer resumed the run, or the cancel stopped it.
actionstring必須
already_finishedboolean必須True when a cancel found the run already finished.
oliver_run_idstring必須
statusstring必須