Skip to main content

Pause an Oliver run.

POST/api/v1/oliver-runs/{oliver_run_id}/pauseoliver:run

Pauses your own run that is planning, executing or running, as the Portal's pause signal does; a run in any other status is 409 naming its status. The run keeps what it has done and continues with resume_oliver_run. A progressive run cannot be paused from outside (409). Needs Pause Oliver Runs; callers without View Oliver Conversations and View Oliver Runs receive a write receipt.

Scopeoliver:run
AsynchronousNo
MCP toolpause_oliver_run
Portal permissionspause_oliver_runs

Parameters​

NameInTypeRequiredDescription
oliver_run_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Responses​

StatusDescriptionBody
200Success.application/json OliverRunResult or object
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
409conflict, idempotency_in_progressapplication/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

Errors​

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

Schemas​

OliverRunResult​

FieldTypeRequiredDescription
acceptedbooleanRequiredTrue when the answer resumed the run, or the cancel stopped it.
actionstringRequired
already_finishedbooleanRequiredTrue when a cancel found the run already finished.
oliver_run_idstringRequired
statusstringRequired