> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/chatlayer-documentation-pt-br/navegacao/history/versions.md).

# Versões

{% hint style="info" %}
Saiba mais sobre os ambientes LIVE e DRAFT [aqui](/chatlayer-documentation-pt-br/publicar/publishing-your-bot.md).
{% endhint %}

Para voltar a uma versão LIVE anterior do seu bot:

1. Abra seu bot e vá para o menu "Publicar".

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

2. No lado direito, você pode ver todas as versões LIVE que publicou anteriormente.

{% hint style="info" %}
Precisa relembrar o que são versões e como elas são usadas? Saiba mais [aqui](/chatlayer-documentation-pt-br/publicar/publishing-your-bot.md).
{% endhint %}

Se você quiser restaurar uma versão mais antiga, basta clicar no botão de restaurar dessa versão; a janela abaixo será exibida:

<figure><img src="/files/4856496807862eaf193e9aca25b3531d573e463f" alt=""><figcaption></figcaption></figure>

3. Você pode escolher se quer:

* fazer desta versão antiga do bot a nova versão LIVE com a qual seus usuários irão conversar. Isso não afetará a versão DRAFT atual.
* carregar a versão antiga em sua versão DRAFT, para que você possa continuar trabalhando nela. Isso não afetará a versão LIVE atual.

{% hint style="warning" %}
Restaurar uma versão para DRAFT significa sobrescrever sua versão DRAFT atual. Isso não pode ser desfeito.
{% endhint %}

Restaurar seu bot irá:

* Reverter o modelo de NLP para a versão específica, para garantir um modelo de NLP funcional.
* Atualizar a aplicação para que a versão correta dos blocos e do modelo de NLP seja exibida aos usuários.
* Não afetar o histórico de conversas, as análises e a aba de treinamento.


---

# 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.chatlayer.ai/chatlayer-documentation-pt-br/navegacao/history/versions.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.
