Skip to main content
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.
Data Retention settings

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.
DataDescription
Usage logsToken/request usage records
Audit logsAdmin/user activity audit records
Guardrail logsGuardrail block/pass records
TracesStep-by-step records of how AI requests are processed
Trace analyticsAggregated/summarized analytics of traces
Auto evaluationAutomatic 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.
ItemDescription
PendingNumber of tasks waiting to be processed
ProcessingNumber of tasks currently running
WorkersNumber of workers processing tasks
Expand Consumers & stalled messages to see per-consumer status and stalled messages.