v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
runtime_mutations
notebook

Patch Notebook Cell

Apply a user cell-content edit to draft + live notebook state.

Synchronous HTTP equivalent of the notebook_cell_user_edit socket event. Used by the frontend to flush a pending edit before invoking /execute so cell-id execution sees the user's latest content. A missed patch is a failed precondition for execution because continuing would run stale backend state.

post/notebook/cell

Request body

notebook_idstring required
notebook_pathstring required
cell_idstring required
contentstring required

Response

Successful Response

{"stackTrail":"paths:/notebook/cell:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}