> For the complete documentation index, see [llms.txt](/llms.txt).
> A full single-fetch corpus is available at [llms-full.txt](/llms-full.txt).
---
title: "Restore the draft from a version"
description: "Reset the mutable draft back to the contents of a published version."
method: "POST"
endpoint: "/api/v1/projects/:projectId/datasets/:id/versions/:versionId/restore-draft"
order: 7
group: "Versions"
last_verified: 2026-07-27
---



`POST /api/v1/projects/:projectId/datasets/:id/versions/:versionId/restore-draft`

Reset the mutable draft back to the contents of a published version.


  #### Path parameters
  - `versionId` _string_ **required** — The version to restore the draft from.



