> For the complete documentation index, see [llms.txt](https://docs.carto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carto.com/carto-user-manual/app-studio/version-history.md).

# Version history

Preview and restore earlier versions of an app

{% hint style="info" %}
**Private Preview:** App Studio is available to selected accounts during its Private Preview. To request access, contact your CARTO representative.
{% endhint %}

Every time the assistant changes your app, App Studio saves a new version. You don't need to save anything, and versions are kept for as long as the app exists. A version includes the app's files and its [data sources](https://docs.carto.com/carto-user-manual/app-studio/data-in-your-app.md).

## Browsing versions

Open **Version history** from the studio's actions menu (**⋮**). Versions are listed newest first, each named after what changed. **Current** marks the version you are editing, and **Live** marks the one people see in the published app.

Select a version to see it running in the preview without restoring it. From a version's menu, you can also give it a name and a description.

<figure><img src="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-84a60c2f546a6c080a49f03e876e5d2f1afbdc39%2Fapp-studio-version-history.png?alt=media" alt="Version history with an earlier version selected, its preview on the right and the Restore this version action open"><figcaption></figcaption></figure>

## Restoring a version

1. In **Version history**, open the version's menu (**⋮**).
2. Select **Restore this version** and confirm.

The app goes back to that version, and the restore is saved as a new version, so you can always go forward again. Restoring only changes what you are editing: the published app changes when you [update it](https://docs.carto.com/carto-user-manual/app-studio/publishing-and-sharing.md#updating-a-published-app).

Only the app's owner can see its version history.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.carto.com/carto-user-manual/app-studio/version-history.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
