Skip to main content
POST
Preview. This endpoint is available to organisations in the Wordsmith MCP and files pilot. Other organisations receive 403 mcp_not_enabled. See the preview overview.
Asks the work behind an operation to stop, and returns the operation. Cancellation is best-effort: a running operation stops at its next safe point, so the response can still read running for a few seconds before status becomes cancelled. Reviews, redlines, document actions, drafts and report runs can be cancelled. Stopping a review needs edit access to it, as the web app’s Stop does. Work already done is kept, such as computed report cells. A question, a report export, repository indexing and playbook generation cannot be cancelled. Once started they run to the end, so cancelling one returns 409 operation_not_cancellable; the work finishes on its own. Get Operation lists every type.

Authentication

Send an API key, or an OAuth access token, as a bearer token in the Authorization header. A token needs the write scope of the operation’s type, such as reviews:write for a review or reports:write for a report run. A write scope also grants its read scope, except files:write: a document action or a draft needs files:read and files:write. Without them the call returns 403 with "error": "insufficient_scope", naming every scope the token lacks.

Path parameters

string
required
The operation to cancel.

Response

Returns 200 with the operation. Its status is running while the work stops, then cancelled.

Errors