> 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="/files/8c8iPDdjZaTW4MEoEOKZ" 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="/files/AhdXqcL9H9PWCDwfrR75" 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 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.ingestlabs.com/tag-manager/tags/tag-version.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.
