AI products often collect prompts, generated responses, ratings, and traces while a team is still learning. Without a retention decision, temporary debugging data can become a long-lived record containing customer secrets, personal information, or regulated material.

Separate product data from diagnostics

Define which fields are required to deliver the feature and which exist only to debug it. Redact or tokenize sensitive values before they reach logs and evaluation stores. A support engineer may need a request identifier and model version without needing the customer’s complete prompt.

Give every dataset a purpose and expiry

Document the purpose, owner, access group, retention period, and deletion method for prompts, outputs, feedback, and evaluation examples. Use shorter retention for raw content and keep de-identified aggregates longer when they still answer the product question. The NIST AI Risk Management Framework is a useful starting point for documenting these governance decisions.

Make deletion observable

Test deletion across the primary database, object storage, caches, analytics exports, and vendor systems. Record when a deletion request was received and completed, without retaining the content it was meant to remove. Privacy is an operational property of the entire data path, not a checkbox on the model settings page.

Map one request end to end

A customer pastes a support ticket into an assistant. The prompt may pass through an API gateway, model provider, tracing service, analytics export, and human review queue. Draw those stores and ask which retain the ticket, for how long, and under whose access rules. The answer may differ by provider configuration and contract; verify the settings that actually run in production.

Write a deletion test

Create a synthetic ticket with a unique marker. Submit it through the normal flow, request deletion, and search each store after its stated deletion window. Include backups and exported evaluation sets in the procedure. Keep only the deletion job ID, completion time, and outcome as evidence. A policy that cannot be exercised this way is difficult to audit or explain to a customer.

Sources

Start with the NIST AI Risk Management Framework and the NIST Privacy Framework for governance and data lifecycle questions. Check the relevant privacy law and vendor terms for your jurisdiction before setting a binding retention period.

More on AI →