> For the complete documentation index, see [llms.txt](https://docs.carto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carto.com/carto-user-manual/ai-agents/conversation-history.md).

# Conversation history

Your conversations with an AI Agent are saved, so you can come back to them later. Reopen a conversation to get back the full thread and the map as you left it, then keep asking questions.

Conversation history is available when you're logged in and open a shared map with its AI Agent enabled for viewers. It isn't available in the Agent preview in Builder or on public maps.

<figure><img src="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-76616771aaade487a56f4136142936687cfa40c8%2Fconversation-history-reopen.png?alt=media" alt="A reopened conversation with its map restored"><figcaption><p><em>Your past conversations, with the map restored from the selected one</em></p></figcaption></figure>

### Find your past conversations

Click the **Conversation history** button at the top of the Agent panel to see your conversations on that map, most recent first. Each conversation gets a title automatically. Use the search box to find one, or click **+** to start a new conversation.

In full screen, your conversations appear in a sidebar next to the chat.

<figure><img src="https://3029946802-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FybPdpmLltPkzGFvz7m8A%2Fuploads%2Fgit-blob-47c25459d97fd8411590651b4dbfabb2065aee57%2Fconversation-history-fullscreen.png?alt=media" alt="The conversation history sidebar in a full-screen AI Agent"><figcaption><p><em>Conversation history in full screen</em></p></figcaption></figure>

### Pick up where you left off

Click a conversation to reopen it. The map goes back to how it was after your last action, including the layers and markers the Agent added and your own filters, masks and map view. Send a new message to continue. The Agent remembers everything said before and uses its latest configuration.

Reopening a conversation only changes the map you're looking at. Reload the page to go back to the map as it was shared.

{% hint style="info" %}
Your conversation history is private: only you can see it. To rename or delete a conversation, open its **⋮** menu.
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.carto.com/carto-user-manual/ai-agents/conversation-history.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.
