> For the complete documentation index, see [llms.txt](https://docs.ingestlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ingestlabs.com/tag-manager/tags/tag-version.md).

# Tag Version

Every tag includes a version number on the top-right corner of the screen. Once the tag is published, the version is set to 1. That is Version 1. After subsequent edits and only after publishing the version number keeps updating to the latest version such as version 2, version 3, and so on.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FkdJk130wDC2ho2wAExfO%2Fimage.png?alt=media&amp;token=5066eba8-c368-4d3b-a008-7ac0550283c4" alt=""><figcaption></figcaption></figure>

**Note**: Until the Tag is published, the status displays as **Pending Publish**. If the Tag is published in staging, the status is updated as **Staging**. If the Tag is published in production, the status is updated as **Production**.

## Restoring a Tag Version

To restore a specific tag version, follow the steps below:

1. Navigate to the version you want to restore.
2. Click the **Action** dropdown button.
3. Select **Restore to this version** from the menu.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FfkN1iiSE8FKyi0yLQllk%2Fimage.png?alt=media&amp;token=1c7738f3-76b3-45d2-92f6-66877dcb3052" alt=""><figcaption></figcaption></figure>

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FksE9IDYXEilEvVF3UCu3%2FTag%20versions.mp4?alt=media&token=3c1a74e7-2e4e-4c82-bf04-d57b5e8901e6>" %}


---

# 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.ingestlabs.com/tag-manager/tags/tag-version.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.
