---
title: "Reset Draft To Canonical"
method: POST
path: "/notebook/draft/reset-to-canonical"
tags: ["runtime_mutations", "notebook"]
---

# Reset Draft To Canonical

`POST /notebook/draft/reset-to-canonical`

Reset a live session draft to canonical file state without deleting it.

## Request body

- DraftResetRequest
  - `notebook_id` string, required
  - `notebook_path` string, nullable

## 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/revisions/f797030c9050/schema)
