Interrupt a running session
Pauses ongoing work and delegated agents without supplying a replacement instruction. Queued messages stay durable and do not restart the session. Idle sessions are paused as well. Only an explicit Send or managedAgentsResumeSession continues work; helper reports, board updates and timers do not. A Slack-started session interrupted while its Slack thread shows a live status line, in a channel verified internal to the workspace, can also be continued from that thread: by the Continue button on its stop note, or by a person mentioning the agent there. The response acknowledges durable acceptance, while interrupted says whether delivery was confirmed. Omit message for a default interruption notice. This preserves the session and its context; managedAgentsCancelSession permanently stops it and the sandbox it owns.
Authorizations
Headers
Path Parameters
Body
Optional compatibility stop reason for pausing a session. Omit the body for ordinary Stop. This operation never supplies a replacement instruction; use managedAgentsSendSessionEvents with interrupt=true for Interrupt & send.
Response
Response body of POST /managed-agents/v1/sessions/{sessionId}/interrupt. An interrupt is a cooperative control, not a session cancellation: the session stays alive and keeps accepting events. Work stays paused until Send or POST /managed-agents/v1/sessions/{sessionId}/resume. Use cancel for permanent cancellation and a stop of the sandbox the session owns.
Response body of POST /managed-agents/v1/sessions/{sessionId}/interrupt. An interrupt is a cooperative control, not a session cancellation: the session stays alive and keeps accepting events. Work stays paused until Send or POST /managed-agents/v1/sessions/{sessionId}/resume. Use cancel for permanent cancellation and a stop of the sandbox the session owns.
True when the interrupt reached the running session and its active work was told to stop. False means the request was accepted and the stop recorded, but nothing running was confirmed interrupted -- typically because the run ended as the request arrived. An already idle session is paused too; queued input is preserved until an explicit Send or Resume.