---
title: "List data retention settings"
method: GET
path: "/data-retention"
tags: ["Data Retention"]
---

# List data retention settings

`GET /data-retention`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/data-retention`
- Auth: HTTP bearer

Returns how long each kind of record is kept for the organization (audit records, AI gateway logs, Agent Control logs, model risk management metrics, evidence files, Shadow AI data, server logs), the latest cleanup per type, and the point the audit ledger has been pruned through. Admin only.

## Response `200`

Success

## Other responses

- `403`: Admin access required
- `500`: Internal server error

## Changes

- **2026-10-12** `853aa04f7cb0`: 1 info
  - endpoint added
- **2026-10-12** `08630a8e6075`: 1 breaking
  - api path removed without deprecation
- **2026-10-12** `f120c4c3fdca`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/data-retention/get.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) - [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verifywise-ai/apis/verifywise-api/revisions/9ccf3d4f3918?raw)
