> For the complete documentation index, see [llms.txt](https://docs.ins-pi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ins-pi.com/models/work-in-the-app/ai/sessions.md).

# Managing Chat Sessions

You can run multiple AI chat sessions in parallel — each with its own conversation history — so different lines of thought don't get tangled up.

## Creating a New Session

Click the **+** button at the top of the chat panel to start a new conversation. The new session opens with a blank slate and the usual welcome suggestions.

Alternatively, type the slash command `/new` in any active chat to open a new session.

## Switching Between Sessions

Your sessions appear as tabs at the top of the AI Chat panel. Click any tab to switch to that session and pick up where you left off.

> **🖼 Screenshot needed:** \[AI Chat panel with multiple session tabs at the top] *Show: the chat panel with three or four session tabs along the top, one active (highlighted), the rest inactive.*

## Renaming a Session

Double-click a session tab to rename it. Sessions are automatically named based on your first message, but a clear custom name makes a bigger difference when you have several.

## Deleting a Session

Hover over a session tab and click the **X** that appears. The session and its full history are removed — this can't be undone.

## Editing a Previous Message

Hover over one of your own messages in the conversation and click the **edit icon**. When you save the edit:

* The conversation rolls back to that point.
* Later messages are removed from the active conversation.
* The AI answers again with the new version of your message.

This is useful when you realize you asked for the wrong thing — rephrase the original message rather than piling on corrections.

## Clearing a Session

Type `/clear` in the chat to wipe the current session's history while keeping the tab open.

## Session Scope

* Sessions are tied to **the board you're editing** — switching to a different board gives you a separate set of sessions.
* Sessions persist across reloads so you can return later and continue.
* Your sessions are private to you unless your admin's setup says otherwise.

## Related

* [AI Chat](/models/work-in-the-app/ai/chat.md) – Working inside a single session
* [Data Privacy & Transparency](/models/work-in-the-app/ai/privacy.md) – What's stored and what's sent to the AI


---

# 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.ins-pi.com/models/work-in-the-app/ai/sessions.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.
