---
title: "Get all data retention settings"
method: GET
path: "/data_retention_settings"
tags: ["data_retention_settings"]
---

# Get all data retention settings

`GET /data_retention_settings`

**Permission required:** read_data_retention_settings

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- DataRetentionModel[]
  - `scope` ScopeModel
    - `id` string
    - `level` string
  - `settings` DataRetentionAtomModel[]
    - `age` integer
    - `how` 'FULL' | 'SOURCE_FILES'
    - `what` 'ALL' | 'DONE'

## Other responses

- `403` — Permission insufficient

---

[API](https://skmtc.net/contractp/apis/contract-p.md) · [All operations](https://skmtc.net/contractp/apis/contract-p/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contractp/contract-p/revisions/8ce53ebd6bd3/schema)
