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

# Revisions

A revision is a snapshot of a whole document, taken by the operations that change it. List the revisions of a document, read one, compare two of them, restore a document to an earlier revision, or undo the changes made to its main file since the last snapshot, such as annotations or signatures. Restoring is refused for a document that is signed or waiting for action unless you force it.

## Endpoints

* `GET /revisions/diff/{id}` — Compare two revisions of a document
* `GET /revisions/document/{id}` — List a document's revisions
* `GET /revisions/document/{id}/{revision}` — Get one revision of a document
* `GET /revisions/revert/{id}` — Restore a document to an earlier revision
* `GET /revisions/revert/{id}/file` — Undo changes made to a document's main file


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