> For clean Markdown of any page, append `.md` to the page URL.
> For a complete documentation index, see https://docs.sarvam.ai/llms.txt.
> For full documentation content in one file, see https://docs.sarvam.ai/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server.

# Data retention

> Control how long Sarvam keeps your data. Set a workspace-wide default retention period, and override it per product for Voice Agents and Sarvam API.

**Data retention is set per workspace**, on **Settings → Workspace → Data retention**. It controls how long Sarvam keeps the data your workspace generates before deleting it automatically.

Only a workspace's org **Owner** can change retention settings. Other roles can view the current settings but the controls are disabled for them.

## Workspace default

Every workspace has one retention period that applies to all its data unless a product overrides it.

#### Open Data retention

Go to **Settings → Workspace → Data retention**.

#### Pick a retention period

Choose a period from the dropdown under **Retention period**.

#### Confirm

Save shows a confirmation dialog with the old and new period before it takes effect.

Changing the retention period only affects data going forward. It is not retroactive — data already stored keeps whatever retention applied when it was created; nothing already stored is deleted early or extended by changing the setting.

## Product overrides

Below the workspace default, **Product overrides** lists retention controls per product for the products your workspace uses. Today this covers **Voice Agents** and **Sarvam API**; support for the rest of the product line is rolling out.

Each product row has a toggle:

* **Off** — the product inherits the workspace default. This is the state for every product until you turn one on.
* **On** — reveals a picker, pre-filled with the currently-inherited value. Pick a period and save to set an explicit override for that product only.

Turning a product's override **off** after it was on reverts it to inheriting the workspace default immediately — no confirmation step, since nothing is deleted by reverting to inherit.

Voice Agents does not currently support 0-day (zero data retention). If you pick **No retention** for a product that does not support it yet, the save fails with an error naming the product and the workaround (typically: use the shortest supported period instead).

## Retention periods offered

| Period                |                                                 |
| --------------------- | ----------------------------------------------- |
| No retention (0 days) | Not supported for every product yet — see above |
| 1 day                 |                                                 |
| 15 days               |                                                 |
| 1 month (30 days)     |                                                 |
| 45 days               |                                                 |
| 2 months (60 days)    |                                                 |
| 3 months (90 days)    |                                                 |
| 6 months (180 days)   |                                                 |
| 12 months (365 days)  |                                                 |
| 24 months (730 days)  |                                                 |

This ladder can change as Sarvam adjusts what's offered — the dropdown in the dashboard always reflects the current, authoritative list. If you pick a value the API rejects, the error response names the currently accepted periods.

## Next steps

#### [Organisations & workspaces](/api/platform/organisations-and-workspaces)

How organisations and workspaces relate, and what settings live at each level.

#### [Platform FAQ](/api/platform/faq)

Common questions about workspace and organisation settings.