runtime_mutations
notebook

Create File Route

Changed on

Create a new notebook or text file, failing if the path already exists.

Unlike /notebook/save (an upsert), this endpoint refuses to overwrite an existing file and returns 409 Conflict when path is taken.

For .ipynb files this writes a starter notebook containing one empty code cell whose cell_id is minted on the backend. That avoids the frontend (useNotebookLoader.makeEmptyCell) fabricating a phantom cell with a client-side id when it loads a zero-cell notebook.

post/notebook/create

Request

  • Base URL
    https://api.quadrillion.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.quadrillion.io/notebook/create
  • Auth
    none declared

Request body

pathstring required
contentstring nullable
metadataobject

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status