> 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/navigation/settings/import-export.md).

# Import/Export

The Import/Export tab under Settings is where you can download or upload a bot file.

Ont the **Import/Export** page, you export and import your bot as a JSON file.

Depending on the size of your bot, the export could take up to 30 minutes to finalize. As soon as the export is ready, you will be able to download it as a JSON file.

Importing a bot can take up to 30 minutes. The uploaded file will be imported to the DRAFT version of the bot.

{% hint style="danger" %}
Importing a bot will overwrite the current version of your bot. There is no way to recover a previous version of the bot.
{% endhint %}

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FoxIYOO3oqHdXV9Obr4pi%2FScreenshot%202024-05-31%20at%2019.54.14.png?alt=media&amp;token=cc264163-eef2-4eb6-a53b-8ecfa0dd29d4" alt=""><figcaption><p>The Import/Export page.</p></figcaption></figure>

## What contains the Export

The **Export** of your bot will include:

* The NLP data (including translations), i.e:
  * Intents
  * Expressions
  * Entities
* The Blocks:
  * Flows
  * Messages and their translations
  * Variables

The **Export** will not include:

* Analytics data
* Conversation history
* Error logs
* Older bot versions
* Channel or offloading configuration
* Tables


---

# 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.chatlayer.ai/navigation/settings/import-export.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.
