> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelm.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Retention Policy

> Read and update per-project observability hot/cold retention policies

## GET

Returns effective project retention settings.

## PUT

Upserts retention settings.

```json theme={null}
{
  "project_id": "550e8400-e29b-41d4-a716-446655440000",
  "hot_days": 30,
  "cold_days": 365,
  "legal_hold": false,
  "delete_after_days": 365
}
```
