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

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 endpoint across all 1 revision of this API.