Request cancellation of a Robot session turn
Create the singleton cancellation request for a queued, running, or blocked Robot turn. The operation is idempotent and asynchronous: accepted cancellation is reflected by a `turn_cancelled` event on the session stream. Cancelling a turn does not remove other queued messages, which remain eligible for later turns.
/robots/sessions/{session_id}/turns/{turn_id}/cancellationCreate the singleton cancellation request for a queued, running, or
blocked Robot turn. The operation is idempotent and asynchronous:
accepted cancellation is reflected by a turn_cancelled event on the
session stream. Cancelling a turn does not remove other queued messages,
which remain eligible for later turns.
In: cookie
Path Parameters
Robot session ID
Robot turn ID
Response Body
application/json
curl -X PUT "https://example.com/robots/sessions/cc5lnd2s1s4652adtu50/turns/cc5lnd2s1s4652adtu50/cancellation"{
"type": "string",
"title": "string",
"detail": "string",
"trace_id": "string",
"metadata": {}
}Inspect a Robot session event stream HEAD
Inspect the session event stream without reading any events. The supplied offset represents the last event already observed by the caller. The response reports the offset to use for the next read and whether that position is caught up with the stream's current tail. This request returns immediately and does not wait for future events.
Request cancellation of a Robot session turn PUT
Create the singleton cancellation request for a queued, running, or blocked Robot turn. The operation is idempotent and asynchronous: accepted cancellation is reflected by a `turn_cancelled` event on the session stream. Cancelling a turn does not remove other queued messages, which remain eligible for later turns.