Admin › Settings › Data Retention
Set the retention period for accumulating log data such as usage, audit, and trace, and automatically clean up data past the period. Use this to manage storage and comply with data retention policies.
Automatic Cleanup
When Enable automatic cleanup is on, data past the configured retention period is periodically deleted automatically.
Setting a retention period to 0 means permanent retention (no automatic deletion). To clean up, specify a number of days of 1 or more.
Retention Targets
Set the retention period (days) individually for each data type.
| Data | Description |
|---|
| Usage logs | Token/request usage records |
| Audit logs | Admin/user activity audit records |
| Guardrail logs | Guardrail block/pass records |
| Traces | Step-by-step records of how AI requests are processed |
| Trace analytics | Aggregated/summarized analytics of traces |
| Auto evaluation | Automatic evaluation results |
Manual Cleanup
Clicking Run cleanup now saves the current settings and immediately deletes data past the retention period.
Task Queue
Check the status of the work queue that processes heavy tasks (like file processing) in the background.
| Item | Description |
|---|
| Pending | Number of tasks waiting to be processed |
| Processing | Number of tasks currently running |
| Workers | Number of workers processing tasks |
Expand Consumers & stalled messages to see per-consumer status and stalled messages.