v106

OpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Sessions

Interrupt a session turn

post/api/v1/sessions/{id}/turns/{turnId}/interrupt

Response

Interrupt requested

seqinteger required

Assigned event sequence number.

idstring required
tsstring date-time required
run_idstring required
node_idstring nullable
node_labelstring nullable
stage_idstring nullable

Stage execution identity, formatted as "{node_id}@{visit}".

parallel_group_idstring nullable

Durable identity of one execution of a parallel node, formatted as "{node_id}@{visit}".

parallel_branch_idstring

Durable identity of one branch within a parallel execution, in {parallel_group_id}:{index} form.

session_idstring nullable
parent_session_idstring nullable
tool_call_idstring nullable

Stable identifier for a tool call, present on agent.tool.* events and other durable events that directly describe the same tool call.

eventstring required

Event type discriminator.

propertiesobject

Example response

{
  "seq": 42,
  "parallel_branch_id": "review_fork@3:1",
  "event": "stage.started"
}