Last updated: November 30, 2026. By Sam Hart, founder of Hathr.AI.
Key takeaways
- Deleting a file from an AI tool has to remove at least three copies: the original file, its parsed text chunks and its embeddings.
- Hathr.AI deletes a document by calling DeleteVectors on that customer's own Amazon S3 Vectors index in batches of 500, then removing the chunks from Amazon DocumentDB (how Hathr.AI's per-customer indexes handle deletes).
- Closing a Hathr.AI account deletes the customer's whole vector index with one DeleteIndex call, which can't be undone.
- Zero data retention inference covers the model call. Stored files, chunks, embeddings and audit logs each need their own deletion answer.
- Proof needs CloudTrail data events. S3 Vectors logs management events by default, and DeleteVectors records appear only after someone turns data events on.
To see the delete flow from the user's side, upload and delete a test file in a Hathr.AI workspace.
What does HIPAA require for PHI deletion and disposal?
HIPAA requires covered entities and business associates to keep policies for the final disposition of electronic PHI and the media that holds the data, and to remove ePHI from media before reuse (45 CFR 164.310(d)(2)(i) and (ii)). The Security Rule names no method. NIST SP 800-88 Rev. 1, the federal media sanitization guideline, defines three levels: clear (logical overwriting against simple recovery), purge (techniques that defeat laboratory recovery) and destroy (the media can't be used again).
In the cloud, AWS sanitizes physical media on its side of the shared responsibility model, and the customer, or the customer's AI vendor, owns logical deletion: which records, in which stores, on what trigger, with what evidence. Two more rules make the evidence part of the job. The audit controls standard requires records of activity in systems holding ePHI (45 CFR 164.312(b)), and information system activity review requires someone to read them (45 CFR 164.308(a)(1)(ii)(D)).
The BAA sets the end-of-contract duty. Under the Hathr, LLC BAA, Hathr.AI returns or destroys a customer's PHI within 30 business days of termination, or extends the BAA's protections if return or destruction is infeasible. I recommend you ask each AI vendor to name every store its deletion touches before you sign.
Where does a document live after you upload it to an AI tool?
An uploaded document lives in at least three places in a retrieval-based AI tool (the stored file, parsed text chunks and embeddings) and leaves traces in prompts, outputs and audit logs. Embeddings count. Morris et al. (EMNLP 2023) showed an inversion method that recovered 89% of full names from embeddings of clinical notes, so a vector store holds PHI.
| Copy | In a typical RAG tool | In Hathr.AI | What delete has to do |
|---|---|---|---|
| Original file | Object storage, sometimes with versioning | Hathr.AI's File Library in AWS GovCloud, hosted on FedRAMP High infrastructure, until the customer deletes it | Remove the object and any versions |
| Text chunks | An app database table, or the vector record itself | Amazon DocumentDB, keyed by chunk ID | Remove every chunk for that document |
| Embeddings | A shared index with a tenant filter | The customer's own S3 Vectors index, with document_id as metadata | Delete every vector for that document |
| Prompts and outputs | Vendor logs; some model providers keep them for abuse review | Zero data retention inference at the model; full audit logging of prompts and outputs, walled off from Hathr.AI employees and contractors | Follow the log retention policy you agreed to |
| Model weights | May learn from inputs, depending on the terms | Never used for model training or product development | Nothing, if the model never trained on the data |
The embeddings row is the easiest to miss. A tool that deletes the PDF and keeps the vectors has kept a compressed copy of the chart, one that an inversion attack can read back in part. Check the vector store first, because it holds the copy a user never sees.
How does Hathr.AI delete patient data when you delete a document?
Hathr.AI deletes patient data in two steps when a user deletes a document: DeleteVectors on that customer's own S3 Vectors index in batches of 500, then removal of the document's chunks from Amazon DocumentDB (AWS Storage Blog, November 2026).
- The user deletes the file in the Hathr.AI File Library.
- Hathr.AI keys each vector by chunk ID, so the document's chunk IDs identify the vectors to delete.
- Hathr.AI calls DeleteVectors on that one index, 500 keys per call.
- Hathr.AI removes the matching chunks from DocumentDB.
- If the user deletes all documents or closes the account, Hathr.AI deletes the whole index with one DeleteIndex call, which can't be undone.
For any builder, deleting vectors before chunks has a practical effect: retrieval stops finding the document before its text goes away, so a question asked mid-delete can't pull a vector whose chunk has vanished.
Worked example: a hospice nurse's 400-page chart
A typical Hathr.AI user, a hospice nurse, uploads a 400-page chart, gets an eligibility summary with citations, and deletes the file. For illustration, assume three chunks per page; your chunker will differ. That chart produces about 1,200 vectors, and Hathr.AI clears them in three DeleteVectors calls of 500, 500 and 200 keys. S3 Vectors allows up to 2,500 vectors inserted or deleted per second per index, so the delete uses a fraction of one second of that customer's own write budget.
That delete leaves query performance unchanged for other Hathr.AI customers. Each delete touches one customer index, and Hathr.AI has seen no visible effect on query latency from delete volume since the summer 2026 cutover. On a shared index, a large customer's offboarding day would compete with every other tenant's writes. The agentic search behind that eligibility summary runs before the delete. Hathr.AI won't keep a document's vectors after the user deletes the document, and I'd ask any vendor to name its equivalent API call.
What does zero data retention inference cover, and what doesn't it?
Zero data retention inference covers the model call: the Claude models Hathr.AI runs keep no prompts or outputs after inference, and Hathr.AI never uses customer data for model training or product development. The phrase says nothing about storage, and storage is where deletion happens.
Files customers store sit in Hathr.AI's File Library in AWS GovCloud, hosted on FedRAMP High infrastructure, until the customer deletes them. Chunks and embeddings follow the same rule, since Hathr.AI deletes them with the file. Hathr.AI also keeps full audit logging of prompts and outputs, walled off from Hathr.AI employees and contractors, and Hathr.AI Enterprise offers custom data retention as an add-on. The training question gets its own treatment in why a contract beats a privacy policy on training. I disagree with any vendor who says "zero data retention" and stops there: ask where the files sit between upload and delete.
How can you prove a deletion happened?
You prove a deletion with storage-layer logs: CloudTrail data events for each DeleteVectors call, a DeleteIndex event for an account closure, and the application's record of the chunk removal. CloudTrail logs S3 Vectors management events by default, but PutVectors, QueryVectors and DeleteVectors are data events, and you get a record that deletions happened only after you turn those on (AWS Storage Blog, November 2026).
A usable evidence package for one test file has four parts:
- The CloudTrail DeleteVectors records, showing the index, the calling role and the time.
- The application log entry for the chunk removal, with the same document ID.
- A follow-up GetVectors call on the deleted keys that returns no vectors.
- The deletion policy that says which stores the workflow covers, as 45 CFR 164.310(d)(2)(i) expects.
Under the shared responsibility model, the customer of AWS owns IAM scope, keys, deletion workflows and logging, so your vendor's configuration decides whether this evidence exists. Request one deletion record for a test file during procurement, before you sign.
What should you ask an AI vendor about deleting PHI?
Send these questions in writing to any AI vendor that will hold PHI:
- Which stores does a document delete touch: file, chunks, embeddings, caches?
- Do my embeddings sit in a per-customer index or a shared one, and how do you delete one customer's vectors from a shared index?
- Which API call deletes vectors, and does it run before or after chunk removal?
- Does the model provider keep prompts or outputs after inference?
- Do you use customer data for model training or product development?
- How long do audit logs of prompts and outputs persist, and who can read them?
- Are storage-layer data events on for vector deletes, and can you show the record for a test file?
- Do backups, snapshots, workflow histories or temp files hold chunk text, and for how long?
- At termination, how many days until you return or destroy PHI?
Hathr.AI answers the last question in its BAA (30 business days), and the second and third in the deletion steps above. For the rest, book a call with the Hathr.AI team, or test the upload-and-delete flow yourself. Engineers building their own pipeline can start with the HIPAA vector store isolation patterns and the RAG prompt injection controls.
Frequently asked questions
Can a patient ask a provider to delete their medical records under HIPAA?
HIPAA gives patients the right to request an amendment to their records under 45 CFR 164.526, and the Privacy Rule contains no general right to deletion. State law sets how long providers keep medical records, and HIPAA requires covered entities to keep their own compliance documentation for six years (45 CFR 164.316(b)(2)). Deleting a chart copy from an AI tool such as Hathr.AI removes the working copy, and the source record stays in the EHR.
Does deleting a file in an AI tool delete its embeddings?
Only if the vendor built it that way. Many retrieval tools store the file, its text chunks and its embeddings in separate systems, and a delete button may clear one of them. Ask which stores the delete touches. Hathr.AI calls DeleteVectors on the customer's own index in batches of 500, then removes the chunks from DocumentDB.
Can Hathr.AI undo a DeleteIndex call?
No. Hathr.AI deletes a customer's whole Amazon S3 Vectors index with one DeleteIndex call once the customer deletes all documents or closes the account, and AWS offers no undo for that call. Download any files you need to keep before you close the account. Single-document deletes use DeleteVectors and leave the rest of the index in place.
How long does Hathr.AI keep PHI after a contract ends?
Under the Hathr, LLC Business Associate Agreement, Hathr.AI returns or destroys the customer's PHI within 30 business days of termination. If return or destruction is infeasible, the BAA's protections extend to whatever remains. Before termination, files stay in Hathr.AI's File Library in AWS GovCloud, hosted on FedRAMP High infrastructure, until the customer deletes them.
Do embeddings have to be deleted under HIPAA?
Treat them as PHI and delete them with the source. Morris et al. (EMNLP 2023) recovered 89% of full names from clinical-note embeddings with an inversion method. The disposal standard at 45 CFR 164.310(d)(2)(i) applies to electronic PHI in any form, and a vector index that can be read back into names qualifies.
Does zero data retention mean an AI vendor stores nothing?
No. Zero data retention describes the model call: the model keeps no prompts or outputs after inference. The vendor can still store your files, chunks, embeddings and audit logs. Hathr.AI's LLMs run with zero data retention, while stored files stay in Hathr.AI's File Library in AWS GovCloud, hosted on FedRAMP High infrastructure, until the customer deletes them.
What does NIST SP 800-88 mean for data in the cloud?
NIST SP 800-88 Rev. 1 defines clear, purge and destroy for storage media. In the cloud, the provider handles physical media under the shared responsibility model, and the customer owns logical deletion: removing the right records from each store and keeping evidence. For an AI tool, that covers files, chunks, embeddings and logs.
Change log: November 2026: first published.
Our Youtube Videos
Hathr.AI is the fastest, safest way to handle sensitive medical records with HIPAA-compliant artificial intelligence. In this demo, watch how you can:✅ Summarize a patient’s medical record ✅ Generate an AI-assisted treatment plan ✅ Write a letter to the patient in plain English ✅ Suggest CPT billing codes ✅ Draft an insurance appeal for a denied claim ✅ Evaluate the case for potential malpractice — all in under 5 minutes.The only AI tool hosted in AWS GovCloud and Powered by Claude 4.0 Sonnet, Hathr.AI is trusted by hundreds of practices that need speed, security, and compliance.Learn more: hathr.ai For healthcare teams: hathr.ai/healthcare Reach out to learn more: contact@hathr.ai
#HIPAACompliantAI#ArtificialIntelligenceInMedicine#HealthcareAI#MedicalBillingAI#AIForDoctors#HIPAAAI#MedicalRecords#AIInHealthcare
Description
As Hathr.AI, we are dedicated to providing a private, secure, and HIPAA-compliant AI solution that prioritizes your data privacy while delivering cutting-edge technology for enterprises and healthcare professionals alike.
In this video, we’ll dive deep into the growing concerns around data privacy with AI tools—especially in light of recent revelations about Microsoft’s Word and Excel AI features. These new features have raised alarm over data scraping practices, where user data could be used without clear consent, leaving individuals and organizations exposed to potential privacy breaches. What makes this especially concerning is the "opt-in by default" design, which could lead to unintended data sharing.
In contrast, Hathr.AI ensures that your data stays yours. With a firm commitment to HIPAA compliance, we take the protection of sensitive healthcare data to the highest level. Our platform is built with the understanding that privacy is not an afterthought but a fundamental pillar of our design. We don’t collect, store, or sell user data, and we employ state-of-the-art encryption, secure access protocols, and clear user consent processes to keep you in full control.
We’ll also touch on why Hathr.AI, powered by advanced LLM (Large Language Models) like Claude AI, offers a secure and private alternative for businesses looking to leverage AI technology without compromising sensitive information. While some AI tools may collect or expose data through ambiguous or hard-to-find opt-out settings, Hathr.AI puts transparency and security at the forefront, offering peace of mind in an era of increasing digital vulnerability.
If you’re concerned about your privacy or looking for a HIPAA-compliant AI solution that respects your data, Hathr.AI provides the robust security, transparency, and ethical design that you need.
Key Points:
- HIPAA Compliant AI: Built for healthcare professionals, ensuring compliance with privacy regulations.
- Privacy-first: No data scraping, no data selling, full user control over information.
- Claude AI: Secure, powerful LLM tools for advanced capabilities without compromising security.
- Data Transparency: Say goodbye to hidden opt-in/opt-out toggles—Hathr.AI gives you clear, easy-to-understand privacy settings.
Tune in to learn how Hathr.AI ensures your AI tools remain private, secure, and trustworthy, while still delivering the performance and accuracy you need to thrive in a fast-evolving digital landscape.
Don't forget to like, comment, and subscribe for more insights on secure AI solutions and how to protect your organization from emerging privacy risks!
Description
Discover how Hathr AI's advanced AI tools transform federal acquisition processes with unparalleled security and efficiency. Designed for government professionals, this video showcases Hathr AI’s capabilities, including secure AI data analysis, HIPAA-compliant tools, and AWS GovCloud integration, to help streamline decision-making and document management. Perfect for agencies seeking private, compliant, and powerful AI solutions, Hathr.AI delivers tools tailored for healthcare and government needs.
Key Topics Covered:
AI-driven data analysis for governmentHIPAA-compliant, secure AI tools for federal agencies
Private deployment options with AWS GovCloud
Learn more about Hathr AI’s secure, high-performance solutions at hathr.ai and transform your agency’s acquisition process with cutting-edge AI.
Description
Discover how Hathr.AI simplifies NSF grant evaluations with advanced AI-driven compliance and proposal review tools. This video showcases Hathr.AI’s capability to streamline grant compliance checks, enhance accuracy, and save time for evaluators and applicants alike. Ideal for research institutions, government agencies, and proposal writers, Hathr.AI offers secure, HIPAA-compliant AI solutions tailored to meet the complex requirements of NSF and other grant processes.Highlights:AI-powered compliance checks for NSF grant proposalsFast, accurate, and secure evaluations with Hathr.AITailored solutions for research, government, and healthcareOptimize your grant proposal process with Hathr.AI's private, secure AI tools. Learn more at hathr.ai and transform how you handle grant evaluations and compliance.
Description
Join Hathr.AI at the Defense Information Systems Agency (DISA) Technical Exchange Meeting to explore innovative AI solutions tailored for federal and defense applications. In this session, we highlight Hathr.AI's secure, private AI tools designed for efficient data handling, HIPAA compliance, and seamless integration within government systems, including AWS GovCloud. Perfect for agencies seeking reliable AI for data analysis, document summarization, and secure decision-making, Hathr.AI provides cutting-edge technology for defense and healthcare needs.Highlights:AI tools for federal and defense data managementSecure, HIPAA-compliant AI solutions with AWS GovCloudEnhancing operational efficiency with private AI deploymentsDiscover how Hathr.AI's solutions empower government and defense agencies to stay at the forefront of innovation. Visit https://hathr.ai to learn more about our services.





