latestOpenAPI 3.1.02026-08-204489152.5 KB

726970fd2992

Sessions

Interrupt active runs for a notebook in an interactive session

Interrupts active runs for the given notebook in an interactive session and signals the notebook kernel to stop any in-flight code, including arbitrary code submitted via /sessions/{sessionId}/execute. Other notebooks in the same session keep running, so the session may remain busy. Returns the refreshed session state.

post/sessions/{sessionId}/interrupt

Path parameters

sessionIdstring uuid required

Session identifier.

Session identifier.

Request body

notebookIdstring required

Notebook to interrupt within the session. Use the session's source notebook ID (session.notebookId), not sessionNotebookId.

Response

Session state after the interrupt.