Operations
Cancel Operation
Ask a queued or running operation to stop.
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.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 theAuthorization 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
Returns200 with the operation. Its status is running while the work stops, then cancelled.