> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blackmountain.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Revisions and Restore

> See earlier versions of a document, compare them and restore one

> [!NOTE]
>
> Requires the **Editor** feature to be enabled for your organization. Ask your administrator if you can't see it.

The Editor keeps a version history for every document. Each saved change, whether you typed it or the assistant made it, becomes a version. You can see what changed in each version and restore any of them.

## Open the version history

1. Open the document on its full page.
2. Click the document's name at the top to open its menu.
3. Choose **Version history**.

The panel lists the 50 most recent versions, newest first. Each version shows who made it:

* **You**: your own edits.
* **Assistant**: edits from a chat or from [Ask AI](https://docs.blackmountain.io/editor/editing-with-ai.md).
* **Restored**: a version created by restoring an earlier one.

Version history is not available in the chat side panel. Open the document on its full page to use it.

## Compare versions

Select a version to see its changes as a line-by-line comparison. Switch between two views:

* **Compared to now** shows what restoring this version would change in the current document.
* **Changed in this version** shows what this version changed compared to the one before it.

Unchanged lines are collapsed so you can focus on the differences.

## Restore a version

1. Select the version you want.
2. Click **Restore this version**.

The document returns to that version straight away. Restoring doesn't delete anything: it adds a new version marked **Restored**, so you can undo a restore by restoring the version before it.

> [!TIP]
>
> To undo an edit the assistant made, find its **Assistant** version and restore the version just before it.

## History and deletion

Archiving a document keeps its version history. Deleting a document deletes its history permanently.

## Related

> [card] [Documents and folders](https://docs.blackmountain.io/editor/documents-and-folders.md)
>
> Archive, restore and delete documents.

> [card] [Editor side panel](https://docs.blackmountain.io/editor/side-panel.md)
>
> How the assistant edits documents.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.