> ## Documentation Index
> Fetch the complete documentation index at: https://00doc-web.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Version history

> Every publish is recorded with a timestamp and optional note.

# Version history

Unfurl stores **one row per publish**: timestamp, optional note, source (`mcp` or `ui`), and the HTML snapshot for that version.

## In the dashboard

<Steps>
  <Step title="Open the document">
    In the [dashboard](https://unfurl.pub/dashboard), select the document.
  </Step>

  <Step title="Check the version badge">
    The toolbar shows a version label (for example **v4**). Hover for a short list of recent publish times and sources.
  </Step>

  <Step title="Preview the live version">
    The preview iframe always shows the **current** published HTML — what your share link serves.
  </Step>
</Steps>

## Via MCP or REST

For the full version list (including notes and optional HTML per version), call **`get_document`** with your `document_id`. Set `include_html: true` when an agent needs to read past content.

See [get\_document](/api-reference/get-document) and [REST API (v1)](/api-reference/rest-api).

## What a version contains

* **Immutable HTML** for that moment in time
* **Time** — when you published
* **Note** — your changelog line, if provided
* **Source** — `mcp` or dashboard upload

History is **append-only**. Publishing never deletes older rows.

## Restoring older content

To put an older snapshot back on the live link, call **`publish_document`** again with the same `document_id`, paste the HTML you want live, and add a note (for example "Revert to v2 — restore pricing table"). That creates a **new** version at the end of the timeline.

## When to write version notes

* **Always** for material business changes (pricing, legal, metrics).
* **Skip** only for trivial typo fixes if you want a quiet history — but a three-word note still helps when you review via `get_document`.

<CardGroup cols={2}>
  <Card title="Documents and versions" icon="file-lines" href="/core-concepts/documents-and-versions" />

  <Card title="Updating a document" icon="arrows-rotate" href="/guides/updating-a-document" />
</CardGroup>
