Regulatory Compliance for AI Systems (GDPR, HIPAA, FedRAMP)
This note separates what Anthropic's docs state (verified) from general regulatory background (standard knowledge, not an Anthropic statement). This is education, not legal advice; compliance conclusions need your legal and compliance teams.
What Anthropic documents
Data handling arrangements for the Claude API
- Zero data retention (ZDR): Anthropic does not store customer prompts or responses at rest after the API response is returned. Enabled per organisation by the account team (not automatic across organisations). Eligibility varies by feature: for example context editing and compaction are ZDR-eligible; code execution containers retain data up to 30 days; Managed Agents sessions persist until deleted; computer use is client-side. Check the feature eligibility table.
- HIPAA readiness: with a signed BAA and a HIPAA-enabled organisation, you can use supported API features to process PHI. Eligible organisations can execute the BAA and enable HIPAA readiness in the Claude Console. It applies broader safeguards (encryption, access controls, audit logging) rather than immediate deletion. If you handle PHI, HIPAA readiness is the arrangement to use; you do not also need ZDR.
- Who is the data processor: on the Claude API, Claude Platform on AWS and Microsoft Foundry, Anthropic is the data processor; on Amazon Bedrock and Google Cloud's Agent Platform the cloud provider is, so use that provider's compliance documentation.
- Claude Code and the BAA: a BAA extends to Claude Code in two configurations: the HIPAA configuration (CLI or Desktop Code tab with a Claude for Enterprise account, HIPAA enabled and the configuration applied) or ZDR. Under the HIPAA configuration, cloud sessions, Remote Control, the mobile app and Claude Code routed through third-party clouds or gateways are excluded.
- Compliance API: provides activity and session data for oversight; for HIPAA-enabled organisations it captures Cowork and Claude Code local sessions only, stored 30 days; ZDR sessions are excluded; transcripts exclude thinking blocks and tool definitions.
- Data residency: responses can report
inference_geo, and pricing differs by geography (the SDK models a 1.1 multiplier forus). - Certifications: Anthropic's help center lists ISO/IEC 42001:2023, ISO 27001:2022 and SOC 2 Type I and II for commercial products, with documentation via its Trust Portal. (Source: help-center search; confirm on the Trust Portal.)
Not verified here: Anthropic's specific GDPR/DPA terms and FedRAMP authorisation status. Check the Trust Center and commercial terms; do not assume.
General regulatory background (not Anthropic statements)
| Regime | Core ideas an architect must design for |
|---|---|
| GDPR (EU personal data) | Lawful basis and purpose limitation; data minimisation; controller and processor roles with a data processing agreement; data-subject rights (access, deletion, objection); restrictions on cross-border transfers; security of processing; DPIA for high-risk processing; limits on solely automated decisions with legal or similarly significant effects |
| HIPAA (US health data) | PHI safeguards (administrative, technical, physical); BAA with any vendor handling PHI; minimum necessary access; audit controls; breach notification |
| FedRAMP (US federal cloud) | A standardised security authorisation program with impact levels (Low, Moderate, High) and continuous monitoring; federal use generally requires an authorised offering at the needed level |
Design implications (design guidance)
- Classify data before it reaches the model; remove or tokenise what is not needed (minimisation).
- Choose the platform and arrangement that matches the regime (ZDR, HIPAA readiness with BAA, a cloud provider, region).
- Retention: set retention for prompts, outputs, logs and telemetry; logs can contain sensitive data (D3.4).
- Access control and audit: enforce caller permissions at retrieval; keep audit trails (D3.2).
- Human oversight for consequential automated decisions (D5.1).
- Vendor management: contracts, subprocessors, incident notification, third-party MCP servers and plugins.
- Document data flows, risks and decisions (D6.4).
Exam traps
- Assuming one platform arrangement covers every regime.
- Sending raw PHI or personal data when minimisation was possible.
- Believing ZDR means no logs anywhere in your own stack.
- Forgetting that on Bedrock or Google Cloud the cloud provider is the processor.
- Treating compliance as a launch checklist instead of ongoing.
References
- API and data retention — checked Oct 16, 2026
- Legal and compliance (Claude Code) — checked Oct 16, 2026
- Compliance FAQ — checked Oct 16, 2026
- Anthropic certifications (help center) — checked Oct 16, 2026
Check your understanding
PHI is in scope. Which arrangement does Anthropic's doc say to use for the API?Show answerHide answer
Answer
HIPAA readiness with a signed BAA (ZDR is not also required).Who is the data processor on Amazon Bedrock?Show answerHide answer
Answer
The cloud provider.Is ZDR automatic across all your organisations?Show answerHide answer
Answer
No; it is enabled per organisation.