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

# Get data retention settings

`GET /settings/data-retention`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/settings/data-retention`
- Auth: HTTP bearer

## Response `200`

DataRetention

- object
  - `data` DataRetentionSettings, required
    - `auditLogRetentionDays` integer, nullable
    - `activityLogRetentionDays` integer, nullable
    - `notificationRetentionDays` integer, nullable
    - `deletedRecordsRetentionDays` integer, nullable
    - `exportRetentionDays` integer, nullable
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `403`: Error

---

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