v4

latestOpenAPI 3.1.02026-08-08349225311.7 KB
runtime_mutations
notebook

Save Draft

Create or update a session draft (debounced autosave path).

No-ops when a generation is active: the agent's turn notebook is the sole draft writer, and user edits flow over the notebook_cell_user_* socket events.

post/notebook/draft

Request body

notebook_idstring required
metadataobject
pathstring required

Response

Successful Response

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