> For the complete documentation index, see [llms.txt](https://help-en.cosmobots.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help-en.cosmobots.io/bot-builder/create-bot/version-control.md).

# Version Control

Version control is so you can tinker with your bot without impacting the end user.\
\
When you activate this control and publish the bot version for the first time, the end user will always have access to the last published version, that is, even if you delete part of the bot flow, as long as you don't publish the latest version it will only be visible for you.\
\
Here's how to enable Version control:

1 - In the bot you want to activate version control, click Edit, then click Versions:

![](/files/-Mg6GIo-lL2KGgi-aZEa)

2- In versions, enable the button Use Version Control in Bot, and click Publish New Version:

![](/files/-Mg6GbfANR2q0sjUnxOc)

Okay, your bot already has Version control enabled

To see when the last version was published and the number of versions published, just click on edit and then click on Versions:

{% hint style="info" %}
NOTE: Version control is so that the modifications you make to your bot don't reach the end user without you wanting to, It is suitable for when you need to make adjustments to bots that are in production Once the new version is published, it is not possible to go back to the previous version.
{% endhint %}


---

# 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://help-en.cosmobots.io/bot-builder/create-bot/version-control.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.
