How-to guide
SSE delivers events through an open HTTP connection. Watching events does not cancel or repeat execution.
Follow a cell execution
Use the notebook ID, run ID, and cell execution ID returned by the notebook APIs. A document cell ID is not a cell execution ID. The Notebook events reference lists the required identifiers and query parameters.
Keep the last sequence you have processed. When reconnecting, use the same execution IDs and pass that sequence through after_sequence. Read the execution’s status as well as its events; an empty response does not always mean completion.
Stop watching or interrupt execution
Closing the event connection stops local observation. To stop notebook work, call the matching interruption endpoint and inspect its state.
An interrupted connection does not imply a failed execution. Reconnect using the saved sequence or read the execution directly. Do not start the cell again just to recover its existing events.Last modified on November 23, 2026