Data retention
Data retention policies control how long StackAI keeps supported records. Set a policy for each data type that must be removed after a defined period.
Before you start
Ask the data owner to approve which record types and retention periods should apply before enabling deletion. Record the existing settings and confirm that older records are no longer needed for investigation or review. Use Audit logs and Inspect project analytics to locate relevant records before shortening a retention period.
You need permission to manage retention and an agreed retention period for each data type.
Review and enable a retention policy
Open Settings → Data Retention and inspect the available policy cards.

Review each entity's enabled state and retention period separately.
Read the enablement confirmation and its permanent-deletion consequence.

Enable a policy only when that deletion behavior matches the organization's requirements.
Set the retention period
Choose the required interval under Retain for.

A shorter interval can make older records eligible for deletion.
After saving, confirm the policy's enabled state and period.

A configuration success message does not prove that background deletion has already occurred.
Review all active policies
Review the final retention settings for all relevant entities.

Increasing the period later does not recover records that have already been deleted.
Important behavior
Retention deletion is permanent. Increasing the retention period later does not restore deleted records.
A saved policy confirms the configuration. Background deletion may occur later.
Last updated
Was this helpful?

