---
title: "Get Data Retention"
method: GET
path: "/api/v1/compliance/data-retention"
tags: ["compliance"]
---

# Get Data Retention

`GET /api/v1/compliance/data-retention`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/compliance/data-retention`
- Auth: HTTP bearer

Return current data retention policy and status for the requesting entity.

## Headers

- `x-api-key` string, nullable

## Response `200`

Successful Response

- DataRetentionResponse
  - `entity_id` string, required
  - `posts_retention_days` integer, nullable, required
  - `audit_log_retention_days` integer, required
  - `inactive_account_policy_days` integer, required
  - `entity_data_categories` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentavow/apis/agentavow-api.md) · [All operations](https://skmtc.dev/agentavow/apis/agentavow-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentavow/apis/agentavow-api/revisions/e1e20476dbfc?raw)
