An LLM feature stores personal data in more places than a classic web app: chat history, traces, vector indexes, eval sets, caches, agent memory and the model provider's own logs. This article covers each store and explains how to find a person's data, how to delete it, and what to write in the reply.
The article assumes you already run a request workflow with intake, identity checks, deadlines and a reply. If you do not, start with the guides "Data subject access requests: how to respond, step by step" and "DSAR automation: building the data subject request workflow". This is general information, not legal advice.
The deadline and the scope stay the same
Under Article 12(3) of the GDPR, you must reply within one month of receipt. You can extend by two further months if the requests are complex or numerous, but you must tell the person within the first month. Adding a chatbot or other LLM feature does not change this deadline.
The scope of a request does not shrink either. The right of access in Article 15 covers all personal data you hold about the person, including chat transcripts, trace content, eval rows and any stored inferences about the person.
What changes is the number of systems. Your data map, the inventory of systems that hold personal data, gains several new entries for each LLM feature. The inventory table in the guide "LLM privacy: data flows, duties and controls" lists the stores an LLM feature adds, and the next section summarizes them. If a store is missing from the data map, or has no documented way to look a person up, the first request against it becomes an engineering project.
Where personal data sits in an LLM feature
The table below lists the usual stores, the key you search by, and what deletion involves in each one.
| Store | Search by | Deletion method | Copies that remain for a while |
|---|---|---|---|
| Chat history database | User ID | Delete rows by user ID | Database backups |
| Tracing and observability tool | User ID or session ID in trace metadata | Delete through the tool's API by trace ID, session ID or metadata | Exports to a warehouse; the tool's own deletion queue |
| Vector index and source documents | Source document ID, tenant ID, subject IDs in metadata | Delete by ID or metadata filter; re-embed edited documents | Deleted vectors before compaction or vacuum; snapshots |
| Eval datasets and test fixtures | Origin trace ID or user ID, if recorded | Delete rows; rewrite git history if the data reached a repository | Clones and forks of a repository |
| Response caches | Per-user cache key, if the cache uses one | Delete keys, or let a short time-to-live (TTL) setting expire them | None after expiry |
| Agent memory | User ID | Delete memory entries by user ID | Backups |
| Fine-tuning files and models | Lineage record of which files fed which model | Delete the training rows; retrain to remove influence on weights | The trained weights until the next retrain |
| Model provider | Provider object IDs you stored | Delete files, vector stores and stored responses through the API | Abuse-monitoring logs until the provider's stated expiry |
Step one: find the person
One design decision makes privacy requests about LLM data manageable: tag every stored record with a stable identifier such as a user ID, customer ID or tenant ID. With that tag, most lookups are simple queries. Without it, you have to search prompt text for an email address and hope the person always typed it the same way.
Plan for two kinds of data:
- Data about the requester as a user. These are the conversations they had, the traces of their sessions and the feedback they gave. You find this data by user ID.
- Data about the requester as a subject. These are mentions of the person in other users' conversations, in indexed documents, and in tickets your staff wrote about them. You find this data only by searching content for their name, email, phone or account number.
For the second kind, regulators do not expect you to search everything. They expect a reasonable search, which is the same standard that applies to searches of email and file shares. Search the systems where you would expect to find the person, with the identifiers you have, and record what you searched.
For mentions, search the trace content by email, phone and name. Also search the source documents behind your retrieval-augmented generation (RAG) index, which is the document collection the model retrieves text from. Then map each hit to the vectors built from that text. A semantic similarity search of the vector index for the person's name is not a reliable lookup, because it returns text that resembles the name rather than text that contains it.
Chat history, traces and logs
Access
Export the person's conversations with timestamps. From traces, include the content fields in a readable form: prompts, completions, retrieved snippets and tool outputs that relate to the person. You do not have to send the raw JSON records your tracing tool stores, but the content must be in the reply. Redact other people's personal data in the same records, as you would for any access request.
Deletion
Delete by user ID from the conversation store and from the tracing backend. Tracing tools differ in how they delete, so check the following points for yours:
- whether the API deletes by user, session or metadata, or only by trace ID (if only by trace ID, query for the IDs first and delete second);
- whether deletion is immediate or queued, and whether the tool confirms it;
- whether traces copied into datasets survive the trace deletion;
- whether traces were exported to a warehouse or data lake, which then needs its own deletion;
- whether general application and gateway logs hold prompt text, because these logs usually cannot be deleted selectively.
Two common tracing tools show how much these details vary:
| Langfuse | LangSmith | |
|---|---|---|
| Delete API | Single trace or a batch of trace IDs | Trace IDs within a project (up to 1,000 per request), or traces matching metadata key-value pairs |
| Timing | Asynchronous; usually within 15 minutes, with no confirmation | LangSmith runs deletion jobs off-peak, on weekends; no confirmation |
| Retention setting | Set per project, minimum 3 days; expired data is deleted nightly. The setting is available on the Pro, Enterprise and self-hosted Enterprise plans | Base traces are kept 14 days. Extended traces, a tier you choose per project, are kept up to 180 days on the hosted service. That 180-day limit applies from September 14, 2026; the earlier limit was 400 days. |
| Datasets | Dataset items are not removed by trace deletion or retention | Dataset examples persist after the trace is deleted; delete them separately with a hard delete |
| Source | Data deletion, data retention | Data purging for compliance |
Short trace retention is the most reliable deletion method. If trace content expires after 14 days, the person's traces may already be gone by the time identity checks finish, and you can say so in the reply.
Set the trace retention period in your data retention policy and schedule, next to your other logs, so it has an owner and a recorded reason.
Vector stores and RAG indexes
A RAG index holds three things: source documents, chunk text, and embeddings computed from the chunks. To delete a person's data, you remove all three for the affected documents. If only part of a document concerns the person, you edit the source and re-index it.
Delete by ID or metadata
Give each chunk metadata that names its source document. Where you know which customer or person a document is about, store their IDs on the chunk as well, so you can delete with a metadata filter. Design the schema for this from the start, with fields such as source_doc_id, tenant_id and subject_ids[].
The main vector database engines all support this kind of delete:
- Pinecone deletes by ID (up to 1,000 IDs per request) or by metadata filter within a namespace.
- Qdrant deletes points by ID or by filter.
- Milvus deletes entities by primary key or by filter expression.
- Postgres with pgvector uses a plain
DELETE ... WHEREon the database table that holds the vectors.
Edit, re-chunk, re-embed
Often the requester is not the subject of a document but is only mentioned in it. For example, the requester may be a third party named in a support ticket, or a person who signed a contract. In that case you edit or redact the source document, delete its old chunks, and then chunk and embed the edited version again.
This is the same pipeline you run when a document changes. If your pipeline can only append new documents and cannot update them, build the update path before the first request of this kind arrives.
Physical removal
Several engines mark a deleted vector first and remove it from storage later. Qdrant's optimizer documentation says a deleted record "isn't removed right away but marked as deleted." Qdrant stores vectors (which it calls points) in storage blocks called segments. Its vacuum optimizer removes the marked points once the percentage of deleted points in a segment is above a configured limit. In Postgres, deleted rows stay as dead tuples until VACUUM runs, and the pgvector README notes that vacuuming its HNSW indexes (a common type of vector index) can take a while.
Find out how your engine handles this, and whether snapshots or replicas hold copies. In the reply, you can write "deleted from the live index; physically purged at the next cleanup run, within N days". Use that wording only if you know the cleanup schedule and can give the number of days.
Provider-hosted files and vector stores
If you use a model provider's hosted files or vector stores, you delete through the provider's API, and these objects stay until you delete them.
- OpenAI's data controls page lists files, vector stores, conversations and Assistants threads as kept "until deleted". Assistants objects, threads and vector stores are removed from OpenAI's servers 30 days after you delete them.
- OpenAI shut down the Assistants API on August 26, 2026, according to its deprecations page. If you used it, check for old threads and files that nobody deleted.
- Anthropic's API data retention page says the Files API keeps files until you delete them or they reach a configured expiration. Message batches are kept for 29 days, and Managed Agents session transcripts stay until you delete them.
Keep a mapping from your document IDs to the provider's file IDs so you can find these objects when a request arrives.
Eval sets, caches and agent memory
Eval datasets are the store that teams forget most often. Rows copied from production into an eval tool, a spreadsheet or a test fixture rarely carry a user ID. Require an origin field, such as a trace ID or user ID, on every row imported from production. Also run a scheduled scan of eval data for identifiers such as emails and phone numbers.
Eval data in git needs extra care, because deleting a file does not remove it from the repository history. Rewriting history affects every fork and clone, so keep production data out of repositories from the start.
Caches. Semantic and exact-match response caches use prompt content as the key and store completions. Give them a short time-to-live (TTL), so entries expire quickly. Then either include the user ID in each cache key, so you can delete one user's entries, or confirm the cache holds nothing user-specific. Anthropic's prompt cache needs no deletion step. Anthropic's retention page, linked above, says the prompt cache does not store prompts or outputs and deletes its in-memory cache data when the cache expires.
Agent memory. A long-term memory feature stores facts about a user across sessions, so it is a profile of that user. The person has the right to see what the system remembers about them and to ask you to delete it. Store each memory entry with the user ID so you can do both.
Fine-tuned models
Suppose production data with the person's information was used to fine-tune a model. Deleting the training file is easy, but removing the person's influence from the model weights is not. The only method that reliably removes specific examples from a trained network is retraining without them. Research on machine unlearning continues, but no other current method gives a guarantee you could state in a reply.
EU regulators are still deciding the legal position:
- Is a model personal data? The EDPB's Opinion 28/2024, adopted in December 2024, says a model trained on personal data is not anonymous in all cases. For a model to count as anonymous, two risks must be insignificant. The first is that someone extracts personal data about the training subjects from the model, and the second is that someone obtains such data by querying the model. The controller, meaning the company that decides how the data is used, has to assess both risks for each model and document the result.
- An earlier view from Hamburg. The Hamburg data protection authority's July 2024 discussion paper argued that LLMs do not store personal data. Under that view, a request can cover a person's prompts, stored outputs and training files, but not the model itself. The EDPB opinion came later and represents all EU authorities, so plan around the EDPB position.
- What regulators can order. The same opinion says that if training data was processed unlawfully, a supervisory authority may order erasure of part of the dataset. Where that is not possible, and depending on proportionality, it may order erasure of the whole dataset or of the model.
- Mitigations the EDPB lists. The opinion lists measures that help a controller rely on legitimate interest as its legal basis, and three of them apply to requests:
- allow erasure even where Article 17(1) does not strictly require it;
- let people report that the model repeats their data, so the controller can test the report;
- filter outputs so the model does not generate personal data.
For most companies, the workable approach has four parts:
- Do not fine-tune on raw personal data unless you need to. Remove personal data from training files first. The post "PII redaction for LLM prompts and traces" describes detection methods for this. If the model was trained on de-identified data, its weights hold little or no personal data to remove.
- Keep a lineage record. For each fine-tuned model, record which training files went in and where their rows came from. When a deletion request arrives, you can then say whether the person's data was used.
- Delete the training data and filter outputs. Remove the person's rows from training files. If there is a realistic risk that the model repeats their data, add an output filter for their identifiers.
- Retrain on a schedule. If you retrain periodically, exclude deleted data from the next run and give the date of that run in the reply.
Copies held by the model provider
Your model provider may hold prompts and completions in abuse-monitoring logs, stored responses, files or batch jobs. As your processor, the provider must help you meet data subject requests under GDPR Article 28(3)(e). Four points decide what you can delete at the provider:
- Objects you created. Files, vector stores, stored responses and conversations are yours to delete through the API. OpenAI's Responses API has a
storeparameter, and when it is on, OpenAI keeps the response for 30 days by default. - Abuse-monitoring logs. Customers usually cannot delete entries in these logs, which expire on the provider's schedule. OpenAI keeps them for up to 30 days unless the law requires longer (OpenAI, your data). Anthropic deletes API inputs and outputs within 30 days. Content flagged for Usage Policy violations is kept for up to 2 years, and trust and safety classification scores for up to 7 years (Anthropic Privacy Center). Cite the provider's stated period in your reply.
- Zero data retention. If you have a zero data retention agreement, the API endpoints that the agreement covers keep no content to delete. At both OpenAI and Anthropic, features that store data, such as files, batches and stored conversations, are not covered by zero data retention.
- Legal holds. OpenAI and Anthropic both reserve longer retention where the law requires it.
The post "Zero data retention and DPAs at model providers" covers each provider's terms in more detail.
Backups
Backups of the conversation database, the trace store and the vector database keep deleted data until the backup schedule replaces them. The UK ICO's right to erasure guidance says the key issue is to put backup data "beyond use", even if you cannot overwrite it at once. The ICO explains this as not using the backup data for any other purpose and keeping it only until your backup schedule replaces it. It also expects you to tell the person what will happen to their data in backups.
EU regulators investigated erasure practices during 2025. The EDPB's report on the right to erasure, adopted in February 2026, covers 32 supervisory authorities and 764 controllers. Half of the responding authorities raised concerns about deletion from backups. Many controllers had no procedure for erasure in backups and relied only on backup rotation. The report recommends that controllers verify erasure and be able to demonstrate it.
Two rules follow for the backups of LLM stores. Never restore a backup without re-applying the deletions logged since it was taken. Keep backup retention short enough that you can state it in the reply.
Rectification and objection
Chatbots lead to a request that classic systems rarely receive: "your assistant said something false about me." Article 16 of the GDPR gives a right to rectify inaccurate personal data. In March 2025, the privacy group noyb filed a complaint with Norway's data protection authority after ChatGPT described a man as a convicted murderer. noyb argues that blocking the false answer for some prompts does not correct the false statement. No decision on the complaint has been published.
How you handle such a request depends on where the false statement is stored or produced:
- If it is in stored output, such as a summary saved to a CRM or a generated profile, correct or delete it like any other record.
- If the model generates it fresh each time, fix the retrieval sources that cause the error, filter outputs about the person, or both.
A person may also object under Article 21 to processing based on legitimate interest. A common case is an objection to having their conversations used for evaluation or fine-tuning. Flag the user and exclude their data from those pipelines from then on.
What the reply says
A reply to a deletion request that touches an LLM feature states six things:
- which stores you searched, and with which identifiers;
- what you deleted and when: conversations, traces, eval rows, indexed documents and their embeddings, agent memory, provider-hosted files;
- what remains for a time and why: backups until rotation on a stated schedule, provider abuse logs until their stated expiry, vector entries until the engine's next cleanup run;
- for fine-tuned models: whether the person's data was used, that you removed it from the training data, what output filters apply, and when the next retraining will exclude it;
- what you kept under an exemption, such as legal claims or a legal obligation, and the basis for it;
- how to complain to the supervisory authority.
A reply to an access request covers the Article 15 information. It says what you hold, where, for what purpose and from what source, and names the recipients, including the model provider and the observability vendor. It gives the retention period and says whether automated decision-making is involved.
Common questions
Do we have to search embeddings for a person's name?
No. Embeddings are computed from text you also store. Search the source text and the chunk metadata, then delete the vectors built from the matching chunks.
Do traces count as personal data if they only hold a user ID?
Yes, if you can link the user ID to a person. Prompt text often adds names, emails and other details on top of the ID.
Can we pseudonymize trace data instead of deleting it?
No. Pseudonymized data is still personal data under the GDPR. The EDPB erasure report described in the backups section found controllers using basic pseudonymization or partial masking in place of deletion, which does not meet the deletion requirement.
What if the person's data is in a model provider's abuse-monitoring log?
You usually cannot delete it yourself. State the provider's published retention period in the reply, for example up to 30 days at OpenAI, and say the log expires on that schedule.
We fine-tuned a model on support tickets. Do we have to retrain it after one deletion request?
No regulator has set that as a general rule. Delete the rows from the training data, record the request, add output filtering if there is a realistic risk that the model repeats the requester's data, and exclude the data at the next scheduled retrain. EU authorities can order erasure of a model where training data was processed unlawfully, so document your legal basis for the training.
Need this built?
We build user-level lookup and deletion across chat logs, traces, vector stores and eval data as part of our LLMOps work. Tell us about your project, and we will reply with questions or a rough plan.