Black Friday10% off any legal service

AI data retention: give prompts, logs and training sets different clocks

byAlex Solo9 min read

A customer prompt can disappear from an AI product's screen while copies remain in diagnostic logs, a support ticket, an evaluation export and a backup. For a UK AI business, a retention policy needs to explain those different lifecycles, not just put one deletion period in the customer terms.

Prompts, logs, training material and backups serve different purposes. Some may contain personal data; others may not. The useful decision is to give each stream a justified purpose, an accountable owner and a workable review or disposal trigger, while checking what third-party providers keep.

This guide explains how to build that retention position, assess deletion requests and make customer promises match the architecture. It also distinguishes privacy duties from practical design choices: there is no universal retention period for all AI data, and deleting a source record does not prove it has been removed from every system.

The retention register behind each data stream

The UK GDPR storage limitation principle says personal data must not be kept in identifiable form for longer than necessary for the purpose you are processing it for. The Information Commissioner's Office also says there is no universal retention period for each data type. That means an AI retention policy needs categories, reasons and review points rather than an invented rule like keep everything for 30 or 90 days.

For most AI products, your retention register should at least cover these categories:

  • Prompt text and attachments: purpose, whether they may contain personal data or special category data, product owner, who can view them, when they are deleted from the live product, and whether a provider keeps copies.
  • Inference and abuse prevention logs: purpose such as security, debugging or fraud prevention, whether they contain full prompts or only metadata, access restrictions, event based review and disposal trigger.
  • Customer support copies: purpose for complaint handling or troubleshooting, source system, deletion trigger once the issue closes unless another reason applies, and whether attachments are duplicated elsewhere.
  • Evaluation and fine tuning datasets: purpose, provenance, whether they were taken from live customer use, legal and commercial approval owner, revalidation point, and withdrawal or deletion route if no longer needed.
  • Training provenance records: where data came from, what permissions or restrictions apply, who approved use, and what you need to keep to show lineage after the source data changes.
  • De-identified aggregates: what has actually been removed, whether the result is anonymous or only pseudonymised, who may access it and for what analysis.
  • Backups and archives: what systems are captured, restore limits, overwrite cycle, access controls, and how deleted material is put beyond use before overwrite.

For each line, record six operational fields: purpose, personal data status to assess, owner, access, trigger for review or disposal, and vendor dependency. Those fields usually matter more than picking a fixed number upfront.

Separate lawful use from later retention decisions

Teams often jump from "can we use this data" to "how long can we keep it" as if those are the same question. They are not. Whether you can collect prompts for the product, use a subset for evaluation, or train a model on selected records are separate processing decisions. Retention comes after that.

This matters because a lawful collection decision does not justify indefinite storage. The ICO is clear that even where personal data was collected and used fairly, you still cannot keep it longer than you actually need it. It also warns that possible future usefulness alone is not enough to justify collecting, using or retaining personal data for AI training.

In practice, ask purpose by purpose:

  • Do we need the full prompt for the immediate response, or only structured features?
  • Do we need a readable copy for debugging every request, or only sampled incidents and technical telemetry?
  • Do we need live customer material for model improvement at all, or can we use synthetic, redacted or approved evaluation data instead?
  • Do we need to identify a person in this dataset, or only analyse trends?

The ICO's AI audit guidance is useful here because it distinguishes review of information used in training and inference from later disposal. It describes some controls as expectations or options to consider, not as free standing statutory rules. So you should use that guidance to shape a defensible process, without turning every design recommendation into a legal absolute.

A sensible outcome is often different clocks for different stages. For example, a prompt may be needed for seconds to generate an answer, selected security logs for a limited operational period, and a carefully approved evaluation set for a separate period that is reviewed against ongoing usefulness and risk.

Decide what each category is for before you set its clock

A retention period is easier to justify when you define the real job of the data first.

Prompt text and attachments. Ask whether you keep them only to deliver the response, also to let the customer see history, or additionally for quality review. If prompt history is a user feature, your customer controls and product wording should say so clearly. If you also use a subset for quality review, that is a separate operational purpose and should have narrower access.

Inference and security logs. Logging should match the incident you are trying to detect. Many teams can reduce retention risk by storing event metadata, request identifiers and error codes, while restricting or truncating full prompt content except where genuinely needed for security or debugging.

Support copies. Support teams often create accidental retention by copying prompts into tickets or chat threads. If those copies are necessary to resolve an issue, make the ticket system part of the register and give it its own disposal trigger.

Evaluation and fine tuning datasets. These are often the highest risk category because they can outlive the original product interaction and spread across notebooks, test folders and provider environments. If you keep an evaluation set for reproducibility or benchmark comparisons, record why, who approves changes and when stale or low value items are removed.

Training provenance. Even if you delete source items later, you may need a separate record of where the material came from, what restrictions applied and which version entered training or evaluation. That is not a reason to keep all source data forever. It is a reason to separate provenance records from the source content itself.

De-identified data. Be careful with labels like anonymous or de-identified. Under ICO guidance, pseudonymised data is still personal data because it can still be linked back with additional information held separately. True anonymisation can move data outside the UK GDPR, but only if people are no longer identifiable in practice.

Make deletion promises match your architecture

The fastest way to create a dispute is to promise deletion in customer terms or sales answers that your systems cannot deliver. Deleting from the live interface is not the same as deleting from provider logs, internal exports, archives or backups.

Your customer facing documents should match the real flow of data through the product. That includes your Privacy Policy, data processing agreement or schedule, enterprise security responses and any promise made by support staff. This is practical commercial advice as much as privacy compliance. A customer may accept that backups overwrite later, but they are less likely to accept a vague or inaccurate promise.

Map the deletion path for each category:

  • live product records
  • observability and security systems
  • support platforms
  • evaluation or fine tuning repositories
  • third party AI or cloud providers
  • archives and backups

Then decide what your business can honestly say. For example, you may be able to remove a prompt from the live service and support workspace quickly, notify relevant processors, stop further use in evaluation, and leave only a time limited backup copy that is locked down until overwrite. What you should not promise is instant erasure from every location, or guaranteed removal from model weights.

Customer deletion requests expose weak retention design very quickly. Under ICO guidance on the right to erasure, the right is not absolute, and any request must be assessed in context. Where a valid erasure request applies and no exemption or other reason to keep the data remains, the steps you take should cover backup systems as well as live systems.

For AI products, build a clear routing process. First, identify which records are actually in scope: live prompt history, account data, support attachments, logs tied to the user, evaluation copies and processor held copies. Second, assess whether a specific legal obligation requires retention, an erasure exemption applies, or the data is necessary for the establishment, exercise or defence of legal claims. A complaint or security investigation does not automatically create a retention exception: record the specific lawful reason and assess it case by case. Third, execute deletion or restriction in each system according to the category rules.

Backups need special handling. The ICO says you should be clear with individuals about what happens in backups. Data may remain in the backup environment until overwrite, but it should be put beyond use, not repurposed and not made routinely accessible. That is very different from saying backups do not matter.

Legal holds also need an explicit route. Where a specific legal obligation or the establishment, exercise or defence of legal claims justifies preserving certain records, pause the normal disposal process only for that material, document the reason and approval, and review whether the reason still applies. A legal hold should be a documented exception, not an excuse to freeze deletion across the whole estate.

Turn the policy into controls your team can actually follow

A retention schedule is only useful if engineering, product, support and security can operate it. The ICO says standard retention periods should be documented where possible, reviewed at appropriate intervals and flexed for exceptions. For smaller low risk processing, a formal policy may be lighter, but you still need regular review and deletion or anonymisation of data you no longer need.

Good operational controls usually include:

  • a named owner for each data category
  • access controls based on role, especially for readable prompt content
  • tagging or classification that distinguishes production, evaluation and backup copies
  • documented review points, such as incident closure, end of contract, dataset refresh or model retirement
  • approval for retention outside the standard schedule
  • vendor due diligence on whether processors keep logs, sub-process, or use customer material for their own model training

Review is where many teams fall short. A dataset that was justified six months ago may now be duplicated, outdated or no longer predictively useful. The ICO's AI audit material expects ongoing assessment of retention in training and inference, deletion of unnecessary duplicates where needed, and evidence that documented schedules are actually followed.

Keep the commercial side aligned too. If your sales deck says prompts are never stored, but your abuse prevention tooling keeps readable samples, your problem is not just privacy wording. It is an AI governance policy issue.

Key Takeaways

  • Give prompts, logs, support copies, evaluation sets, provenance records and backups distinct purposes and review or disposal triggers.
  • Assess which streams contain personal data. Pseudonymisation does not itself take that information outside the UK GDPR.
  • Justify retention by the actual processing purpose, not a blanket period or speculative future usefulness.
  • Map deletion through live systems, vendors, exports and backups before making promises to customers.
  • Assess erasure requests and genuine retention exceptions individually; keep backup data beyond use where immediate overwrite is not possible.
  • Assign operational responsibility, document justified exceptions and review whether the policy is followed in practice.

If you need help reviewing your AI data flows, customer deletion wording, processor terms or retention schedule, Sprintlaw UK's legal team can help with AI product terms, privacy documentation, data processing arrangements and customer contract review. You can reach us on 08081347754 or at team@sprintlaw.co.uk.

Drafted by Taylor, Sprintlaw's AI, and overseen by Alex Solo. How we write

Get your customer-facing terms right

What should your privacy and online terms cover?

If you collect customer data, sell online or run marketing campaigns, your public terms and privacy documents should match the real customer journey.

Alex Solo
Alex SoloCo-Founder

Alex is Sprintlaw’s co-founder and principal lawyer. Alex previously worked at a top-tier firm as a lawyer specialising in technology and media contracts, and founded a digital agency which he sold in 2015.

Get your customer-facing terms right

Get in touch with our team

Tell us what you need and we'll come back with a fixed-fee quote - no obligation, no surprises.

Need support?

Need help with your business legals?

Speak with Sprintlaw to get practical legal support and fixed-fee options tailored to your business.