# Revision history

> Every change keeps the version it replaced, so mistakes by people or agents can be undone.

Posts and pages keep their earlier versions. When someone saves a change, from the dashboard or through an [AI agent](/docs/mcp), the version from right before the change is stored. You can look through them and put one back.

## Open the history

In the post or page editor, choose **History** in the header. You see earlier versions, newest first, with:

- when the version was replaced, and by whom;
- where the change came from: the **dashboard**, an agent over **MCP**, a **restore**, or a **schedule** (a scheduled post going live on its own);
- the title, slug and status the item had then.

Select a version to read it. Nothing changes until you restore it.

## Restore a version

Select a version, choose **Restore this version** and confirm. Quillhive puts back the title, slug, excerpt, status, publish date, feature image, tags and content.

Restoring is safe to try. The current state is saved as a new revision first, so a restore can be undone the same way.

Restoring follows the [scheduling rules](/help/writing#scheduling-a-post): a version scheduled for a time that has already passed is published right away, and a published version dated in the future comes back scheduled.

A restore is refused when:

- someone saved the item while you were looking. Reload and try again;
- another post now uses the old version's slug.

## What gets saved

| Change              | Saves a revision                    |
| ------------------- | ----------------------------------- |
| Agent edit over MCP | Always                              |
| Restore             | Always                              |
| Dashboard save      | Once per editing session, see below |

The editor saves often, so a burst of saves by the same person within 10 minutes keeps a single revision: the version from before they started. Publishing, unpublishing, changing the slug, and any hand-over between people or agents always get their own revision.

The newest 50 revisions of each post or page are kept. SEO metadata and authors are not versioned.

## Changes made by agents

Agents see the same history. If an agent makes a mistake, it can put back the earlier version itself, or you can restore it from **History**. Developers can read how this works in [Collaborating safely](/docs/mcp/safety#undo-with-revisions).
