endpoint
PUT

/api/notebooks/{slug}

Update name, source, visibility, runtime

auth: API keybase https://app.nz
Request
curl -sX PUT https://app.nz/api/notebooks/{slug} \
  -H "Authorization: Bearer pk_live_..." \
  -H "Content-Type: application/json" \
  -d '{}'

Notebooks & datasets

Hosted marimo notebooks run free in the browser (Pyodide) or on per-minute cloud machines that stop when idle. Datasets accept csv, json, jsonl (agent traces auto-detected), parquet, sqlite .db files, images, and browser-playable video; binary formats stream from the CDN and table previews open in the Sheets editor. Machine rates include the platform margin — what /api/notebooks/pricing returns is what you pay.

Create a notebook and run it on a GPU
curl -sX POST https://app.nz/api/notebooks \
  -H "Authorization: Bearer pk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"fraud analysis"}'

curl -sX POST https://app.nz/api/notebooks/nb-1a2b3c4d/sessions \
  -H "Authorization: Bearer pk_live_..." \
  -d '{"machineType":"gpu-rtx3090"}'
# -> {"session":{"id":"...","status":"provisioning","priceHourly":"$0.264"}}