Implementation Guide

Reconciling GDPR Article 17 Erasure Requests with LLM Log Retention

Treat the conflict as a data lifecycle problem. Map every store that holds prompts, responses, tool-call records, traces, and embeddings.

Where personal data sits in an LLM logging pipeline

Personal data can appear in any store that holds LLM-related records. Start by mapping every one of them, including third-party storage. At a minimum, the inventory should cover:

  • Prompts
  • Responses
  • Tool-call records
  • Traces
  • Embeddings
  • Third-party storage that holds any of the above

Deciding when erasure applies and when retention is justified

Classify each log category by its purpose, its personal data content, and its retention basis, including any legal retention duty. With that classification in place, separate erasure obligations from documented retention grounds, so that each category has a clear and recorded outcome.

Minimize at capture, not after the fact

Minimize and redact at capture time, so that less personal data enters the logging pipeline and less has to be erased later. Keep identity separate from audit evidence, so that evidence can be retained without carrying identifying data it does not need.

Retention tiers and audit trail integrity

Tier retention by log category, based on the purpose and retention basis you documented. Design deletion so that audit integrity is preserved, and record what was erased, where, and what was retained and why.

From erasure request to evidenced outcome

The five stages below take an erasure request from the initial inventory to a recorded outcome.

Erasure workflow stages
StageDescription
1. MapInventory every store holding LLM-related personal data, including third-party storage.
2. ClassifyTag log categories by purpose, personal data content, and retention basis.
3. DecideSeparate erasure obligations from documented retention grounds.
4. ControlMinimize, redact, tier retention, and design deletion for audit integrity.
5. EvidenceRecord what was erased, where, and what was retained and why.

Designing the erasure workflow

Run erasure as an evidenced workflow across all stores. Each request should move through the stages above, so that the outcome is recorded for every store, whether data was erased or retained.

Review your LLM logging controls

Talk to an expert about applying runtime policy enforcement and audit logging to AI agent activity in your environment.

Talk to an Expert