---
title: DataRetentionPolicy enum | Wartiva GraphQL API
description: How much historical data is retained for an Organization. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/data-retention-policy.html
updated: 2026-10-07
---

Organizations and users · GraphQL enum

# `DataRetentionPolicy` enum

How much historical data is retained for an Organization.

## Values

| Enum Value | Description |
|---|---|
| `DAYS_7` | Retain data for 7 days. |
| `DAYS_30` | Retain data for 30 days. |
| `DAYS_90` | Retain data for 90 days. |
| `DAYS_365` | Retain data for 365 days. |

## Used by

- [`Organization`](https://wartiva.com/api-docs/types/organization.html) type: A customer account: the tenant boundary for every endpoint, graph object, policy rule, and user.

## Example

### Example

```json
"DAYS_7"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
