Request an exact stop for a queued or running response
Request an exact stop for a queued or running response
/api/v1/workspaces/{workspace_id}/discuss/messages/{message_id}/cancelQueued work becomes cancelled immediately. Running work first reports cancel_requested; its terminal message and run state are reconciled after execution has stopped. A completed action and its receipt are never described as rolled back.
Path Parameters
Header Parameters
Responses
string·const no-storePrevents storage of error responses by clients and intermediaries.
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
stringCurrent server-owned generation state when this message has a durable run. Omitted for messages without a run.
queuedrunningcancel_requestedcompletedfailedobject[]·max 20Extensible typed message parts. specialist_result may include delivery_mode (direct or supporting) and an author object with actor_id, definition_id, version, revision, name, initiator_actor_id and parent_run_id pinned at admission. Direct results retain that author; supporting results are presented as Discuss. Unknown or absent attribution uses the generic Agent label. runtime_text is a full pending-text snapshot with stable part_id, optional run_id/step_id/generation/revision, producer_fence, producer_sequence and a UTF-8 byte offset; snapshots replace text and never imply concatenation or provider usage. context_capsule records Core-resolved visible UI scope. tool_activity is a stable Core-sanitized user projection keyed by tool_call_id, with optional part_id/run_id/step_id/revision/producer_fence for independently versioned actual handler activity. States describe recorded execution, never effect confirmation; it excludes raw arguments/results, prompts, credentials and hidden reasoning. entity_references contains at most 20 Core-reauthorized Project/Task identities with canonical labels/locators and observed revisions for trusted client navigation. task_result identifies one exact read or committed single-Task create/update with task_id, task_code, title, observed_revision and reason; clients must hydrate current authorized Task properties rather than treating it as a frozen snapshot. Completed Discuss mutations include an immutable action_result with action/receipt IDs, before/after state, entity version, actor, timestamp, risk level and a conditional inverse when reversible. interaction represents approval, ambiguity, stale-action and recovery states; policy-required reviews include the exact ChangeSet ID, version and digest. operation_receipts groups bounded canonical receipt references in a receipts array with operation_id, tool, state and optional resource_type, resource_id and revision. Receipts and mutations commit together; model prose alone is not a receipt.
string <uuid>Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.
integer·min 1Seconds until the client may retry.
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
string·const no-storePrevents storage of error responses by clients and intermediaries.
string·min 1·max 200Correlation identifier for the request.
string·const nosniffPrevents user agents from MIME-sniffing the response.