# Chat Data Retention

You can configure how long chat history is retained before automatic deletion. This setting applies to all users in your organization.

## Objective

Manage chat history retention to align with your organization's data policies and compliance requirements.

## Prerequisites

- Signed in to Treasure AI Studio
- **Admin role** required


## Configuring the Chat Retention Period

1. Click your account name in the bottom-left of Treasure AI Studio to open **Settings**
2. Under the **ORGANIZATION** section in the left menu, click **Data Retention**
3. Select a retention period under **Chat retention period**


| Value | Description |
|  --- | --- |
| **Default** | Uses the platform default retention period (28 days) |
| **14 days** | Automatically deletes chats 14 days after creation |
| **28 days** | Automatically deletes chats 28 days after creation |
| **60 days** | Automatically deletes chats 60 days after creation |


Note
The retention period is measured from the **date the chat was created**, not the date of the last message.

Data Retention settings screen showing Chat retention period options: Default, 14 days, 28 days, and 60 days
Warning
Chats older than the selected period are automatically and permanently deleted. This action cannot be undone. The setting applies immediately to all users in the organization.

## Next Steps

- [Security & Permissions](/products/ai-studio/security) — Sandbox and audit log
- [Access Control](/products/ai-studio/security/access-control) — Permissions and IP allowlist
- [Chat History](/products/ai-studio/chat/chat-history) — Managing chat history