v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
runtime_mutations
notebook

Add Notebook Cell

Insert a new user-authored cell into the draft + live notebook state.

Used by the frontend so that subsequent same-session HTTP writes (/notebook/cell, /execute) are guaranteed to see the cell.

Idempotent: re-adding an existing cell_id returns success without mutating the draft.

post/notebook/cell/add

Request body

notebook_idstring required
notebook_pathstring required
cell_idstring required
cell_typestring
contentstring
after_cell_idstring nullable

Response

Successful Response

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