---
title: "Export Notebook Standalone Endpoint"
method: POST
path: "/api/notebook/export_standalone"
tags: ["runtime_mutations", "notebook"]
---

# Export Notebook Standalone Endpoint

`POST /api/notebook/export_standalone`

Export a notebook with qualia.get(...) calls inlined for standalone use.

TODO: Because notebooks can be attached/detached across sessions,
a notebook may reference variables from arbitrary projects/tasks.
Right now we call ``query_all_task_variables()`` which fetches
*every* variable in the database rather than scoping to the
variables relevant to this notebook.  Revisit once we can
efficiently resolve notebook_id -> relevant task variable set.

## Request body

- ExportStandaloneRequest
  - `path` string, required — Path to the notebook to export

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/versions/399077308c86/schema)
