> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/core-concepts/versioning-in-formsort-deploying/managing-revisions.md).

# Managing revisions

Formsort automatically saves every deployed revision of a variant. From the **History** tab, you can revert to a previous revision to inspect its structure and, if needed, redeploy it to make it live again. You can also view the JSON definition of any revision.

## Viewing & Reverting Revisions

1. **Open the variant** in Studio.
2. Click the **History** tab to see all past deployments—each entry shows the revision UUID, date, and any deployment notes.

<figure><img src="/files/ChbtbfArZmw87sf1tPai" alt=""><figcaption></figcaption></figure>

3. To revert, find the desired revision, open its 3-button menu, and select **Revert**. Confirm the action to roll back the live flow to that revision.

<figure><img src="/files/rFJOT9HEK9NpdiCF8P4c" alt=""><figcaption></figcaption></figure>

4. **Optional:** Deploy your form for the reverted changes to go Live.&#x20;

{% hint style="warning" %}
You can only revert to revisions that have been deployed—drafts aren’t available for reversion.
{% endhint %}

### Viewing JSON definition

You can also use the 3-button menu to access the JSON definition of the schema of the revision.&#x20;

<div align="left"><figure><img src="/files/mP5MWQYDoEzYdwuTdUhZ" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.formsort.com/core-concepts/versioning-in-formsort-deploying/managing-revisions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
