# Chat Persistence & History

Never lose a conversation. Every message is saved server-side in real time and accessible from any device — start an analysis on your laptop, review it on your phone.

Note
Chat history is stored on Treasure AI's servers, not in your browser or on your device. There is nothing to configure — persistence is automatic from your first message.

## Objective

Find, organize, and manage past conversations so that valuable analyses, segment definitions, and query results remain accessible to your team.

## Prerequisites

- Signed in to Treasure AI Studio ([Getting Started](/products/ai-studio/getting-started))


## How Chats Are Saved

Every message you send and every response the AI generates is persisted on the server in real time.

- **No local storage dependency.** Your conversations are stored server-side, not in the browser or on your device.
- **Cross-device access.** Sign in on any platform (Web, Desktop, or Mobile) and your full chat history is available.
- **Session-based.** Each chat has its own message history and context window. A standalone chat runs in its own workspace; chats created inside a work folder share that work folder's workspace.


## Chat List

Your conversations appear in the sidebar under **Chats**, sorted with the most recent at the top.

### Web & Desktop

The sidebar displays your chats with:

- **Chat title** — Auto-generated or manually renamed (see [Auto-Titled Conversations](/products/ai-studio/chat/chat-auto-titling))
- **Time indicator** — A short relative timestamp showing how recently the chat was active (e.g., "2m", "1h", "3d")
- The currently active chat is highlighted


Sidebar showing Chats section with chat items and timestamps
### Mobile (iOS)

The home screen shows your chats in the **Chats** section, below **Projects**. Tap any chat to open it.

## Searching Chats

### Web & Desktop

Search lives behind a **search (🔍) toggle** in the sidebar header. Click it to reveal the search box (labeled **"Search chats..."**), which is focused automatically. As you type, both your chats and work folders filter in real time to show only matching entries; if nothing matches, the list is empty. Press **Escape** or click the toggle again to close the search — closing clears the filter, and the search also closes when you navigate to a chat or work folder.

### Mobile (iOS)

Scroll to the top of the chat list to reveal the search field.

## Renaming a Chat

By default, Studio automatically generates a title for each conversation based on the first exchange (see [Auto-Titled Conversations](/products/ai-studio/chat/chat-auto-titling)). You can rename any chat manually.

### Web & Desktop

Click the **more** menu (⋯) on a chat and select **"Rename"**. The title becomes an editable field inline in the sidebar. After editing:

- Press **Enter** or submit to save
- Press **Escape** to cancel


Chat item in edit mode with title selected in a text field
### Mobile (iOS)

Swipe left on a chat in the list to reveal action buttons, then tap **Rename**.

## Deleting a Chat

### Web & Desktop

1. Click the **more** menu (⋯) on the chat you want to delete
2. Select **"Delete"**
3. A confirmation dialog names the chat and warns that this permanently deletes the chat and its messages
4. Click **Delete** to confirm, or **Cancel** to keep the chat


Warning
Deleting a standalone chat permanently removes it, all its messages, and all associated files from the server. This action cannot be undone. Files in work folder chats are retained when the chat is deleted. See [File Retention & Deletion](/products/ai-studio/files/file-upload-download#file-retention--deletion) for details.

### Mobile (iOS)

Swipe left on a chat in the list to reveal action buttons, then tap **Delete**.

## Chat Retention Period

Organization administrators can configure how long chat history is retained before automatic deletion. Chats older than the configured period are automatically and permanently deleted.

For details on how to configure the retention period, see [Chat Data Retention](/products/ai-studio/security/data-retention).

## Sessions vs. Saved Chats

A chat's **working session** — the sandbox that runs the AI — is released after a period of inactivity to free resources. This does **not** delete the conversation. The chat stays in your history: open it any time to read the full message history, and send a message (or click **Resume**) to restart the session and continue. See [When a Session Ends](/products/ai-studio/chat/chat#when-a-session-ends).

A chat only leaves your history when you delete it, or when it passes the organization's [retention period](#chat-retention-period).

## Differences from Treasure Studio Labs

| Feature | Treasure Studio Labs | Treasure AI Studio |
|  --- | --- | --- |
| **Storage** | Local (on your machine) | Server-side (cloud) |
| **Cross-device access** | No — each device had its own history | Yes — all devices share the same history |
| **Chat search** | `Cmd+O` to search conversations | Search behind a 🔍 toggle in the sidebar header |
| **Message clipping** | Clip important messages for quick reference | Not available in GA |


## Verification

- [ ] Start a conversation on one device and see it listed on another device
- [ ] Search for a past conversation by title and open it
- [ ] Rename a chat and see the updated title across all devices


## Troubleshooting

| Issue | Solution |
|  --- | --- |
| Chat missing from history | Check whether it was created inside a work folder — work folder chats appear under that work folder in the sidebar, not in the standalone **Chats** section |
| Search returns no results | Search matches on chat titles only. If the title was auto-generated, try keywords that describe the conversation topic |
| Deleted chat still appears | Refresh the page or restart the app. The chat list may take a moment to sync |


## Next Steps

- [AI Chat Interface](/products/ai-studio/chat/chat) — Sending messages and understanding responses
- [Auto-Titled Conversations](/products/ai-studio/chat/chat-auto-titling) — How Studio names your chats
- [Core Concepts](/products/ai-studio/concepts) — Work Folders, models, and credits