runtime_mutations
notebook

Load a file by path, checking for a session draft first.

If a session draft exists for this notebook:

  • Returns the draft state instead of the canonical file.
  • If the draft's canonical base revision has drifted, includes a draft_conflict field so the frontend can prompt the user.

Non-notebook files bypass draft logic entirely.

Returns:

  • .ipynb -> JSON: { path, cells, metadata, draft_revision?, draft_conflict? }
  • text -> raw UTF-8 text (text/plain or application/json)
  • binary -> raw bytes (image/*, application/pdf, etc.)
post/notebook

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
  • Auth
    none declared

Request body

pathstring required

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