---
title: "Restore Block Version"
method: POST
path: "/api/blocks/{block_id}/restore/{version_number}"
tags: ["blocks"]
---

# Restore Block Version

`POST /api/blocks/{block_id}/restore/{version_number}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/blocks/{block_id}/restore/{version_number}`
- Auth: HTTP bearer

Restore a block to a specific version. Requires Pro tier.

## Path parameters

- `block_id` string, uuid, required
- `version_number` integer, required

## Response `200`

Successful Response

- BlockResponse
  - `type` 'text' | 'checklist' | 'table' | 'react_flow' | 'agent_control' | 'tree' | 'ctlsurf_task' | 'page_summary' | 'file' | 'mindmap' | 'datastore' | 'state' | 'log' | 'presentation', required
  - `title` string, nullable
  - `props` object
  - `id` string, uuid, required
  - `page_id` string, uuid, required
  - `order` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
