sessions

Interrupt Session

Flag the active turn for the compressed wrap-up (decision 17).

The sandbox entrypoint's control-signal poll picks the flag up and calls interrupt() with a ~60-90s budget. 409 when no turn is active — including the crashed-turn window, where only the recovery sweep frees the lock (accepted for alpha, first-review H1; the UI shows honest copy).

post/sessions/{session_id}/interrupt

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/sessions/{session_id}/interrupt
  • Auth: HTTP bearer

Path parameters

session_idstring uuid required

Headers

X-Posthog-Session-Idstring nullable
X-Client-Mobilestring nullable

Response

Successful Response

turn_idstring required
interrupt_requested_atstring date-time required

Changes

No recorded changes to this operation across all 39 revisions of this API.