# Data Retention

Human URL: https://dochorizon.klippa.com/docs/platform/organizations-and-projects/data-retention
Source: https://dochorizon.klippa.com/docs/llms/platform/organizations-and-projects/data-retention.md

> Control how long your documents are stored on Doxis AI.dp's systems

---

Data retention determines how long processed documents and their associated files are kept on Doxis AI.dp's servers after capture. Each project has its own data retention setting, giving you granular control over storage duration across different workflows.

> **INFO:** Data retention only applies to documents processed through [asynchronous capturing](https://dochorizon.klippa.com/docs/llms/capturing/async.md). Documents processed synchronously are never stored after the response is returned.

### How it works

When you submit a document for asynchronous capture, the platform stores the processed result so you can retrieve it later. The data retention setting controls two things:

- **How long** results remain accessible in the [Project Inbox](https://dochorizon.klippa.com/docs/llms/platform/project-inbox.md) and via the API
- **Whether input files** (the original documents you submitted) are deleted immediately after processing or kept until the retention period expires

There are two modes:

**Retain for a set period** — Set a retention period (in days). Input files are deleted once the retention period expires. During that window, processed results are accessible in the Project Inbox and can be retrieved via the async results endpoint. This is useful when you need to review or reprocess documents after capture.

**Delete immediately** — Leave the retention period unset (or set to zero). Input files are deleted as soon as processing completes and no results are stored. Use this when you do not need to review results after capture and want to minimise data on Doxis AI.dp's systems.

### Configuration

### Open Project Settings

Navigate to your project in the Doxis AI.dp platform and open **Project Settings** from the left-hand navigation menu.

### Adjust the Data Retention Time

In Project Settings, locate the **Data Retention Time** field. Enter the number of days you want processed documents to be retained.

Setting this value to zero (or leaving it blank) means input files are deleted immediately after processing completes.

### Enable input file retention (optional)

Check the **retain input files** checkbox if you want the original submitted files to be kept until the retention period expires. If left unchecked, input files are deleted immediately after processing regardless of the retention period — only the processed results are retained.

### Relationship to the Project Inbox

The retention period directly determines how long captured documents appear in the [Project Inbox](https://dochorizon.klippa.com/docs/llms/platform/project-inbox.md). If data retention is set to zero or not configured, documents will not appear in the inbox at all, since results are not stored. To use the inbox for reviewing or correcting processed documents, you must set a retention period greater than zero.