Not legal advice
This lesson covers architecture-level implications only. Which obligations apply to your organization, and whether a particular design satisfies them, are legal determinations for your counsel and compliance officers. The lesson makes no statement about any certification or compliance status of Anthropic or any other vendor beyond what the cited Anthropic pages themselves say. Vendor terms and product eligibility change, so verify against the current documentation and your signed contract.
Compliance is a property of the whole system, its contracts and its operations, never of a model API on its own. Using a vendor that offers a compliance arrangement does not make your application compliant; it makes certain arrangements available to you, inside boundaries you must respect. The architect's job has three parts: know exactly where regulated data flows, choose controls that make the obligations satisfiable and provable, and make sure the evidence exists. Lawyers decide what the obligations are; you decide whether the system can meet them.
Start with the data-flow map, then minimise at the boundary
Personal or regulated data reaches far more places in an LLM system than the prompt: uploaded files, retrieved documents, tool results, conversation memory, logs and traces, evaluation datasets, vector indexes and embeddings, caches, human-review tools and backups. For each store or hop, record the purpose, which processors and sub-processors touch it, where it sits, how long it lives, who can read it, and how you would delete it. Then classify the data before deciding whether it should go to the model at all.
| Concern | Architectural lever |
|---|---|
| Minimisation | Redact or pseudonymise before the model call; retrieve only the fields the task needs; do the stripping in code at a gateway or hook so it does not depend on the prompt |
| Retention and deletion | A time-to-live per store; the ability to find and delete by data subject across logs, indexes and review tools; vendor retention settings |
| Access control | Least privilege per agent and tool; per-user scoping of retrieval so the agent cannot read what the user may not; separate workspaces or organizations for regulated workloads |
| Residency and transfers | Know where inference runs and where data rests; a contractual transfer mechanism where data leaves a jurisdiction |
| Audit and evidence | Application logs of who, what, which model and which reviewer decision; retention that does not contradict minimisation |
| Vendor agreements | Signed agreements that cover every processor and every feature actually used |
GDPR: what shapes the design
The European Commission's summary of the principles gives the design vocabulary: lawfulness, fairness and transparency; purpose limitation; data minimisation (adequate, relevant and limited to what is necessary); accuracy; storage limitation (keep data no longer than needed); integrity and confidentiality, with data protection by design and by default; and accountability, meaning you must be able to demonstrate compliance. Architectural readings: inaccurate statements about a person that a model generates are an accuracy problem, so ground and make them correctable; do not repurpose prompts or logs into evaluation sets for a new purpose without asking counsel; and give every log, trace and index a retention rule.
Roles matter. The EDPB describes the controller as determining purposes and means, and the processor as acting on the controller's instructions, with the relationship governed by a contract; the controller remains liable for the compliance of the processor it chooses. Which party is which is a legal characterisation, but the design consequence is plain: choose and document the vendor arrangement deliberately. Transfers outside the EEA need a recognised mechanism (the Commission lists adequacy decisions, standard contractual clauses, binding corporate rules and others), so you must know where processing and storage occur. The Commission's guidance on automated decision-making restricts decisions based solely on automated processing that have legal or similarly significant effects, with safeguards including human review and the ability to contest; that is the design driver for Lesson 4.3.
On Anthropic's platform, residency has two independent controls per the documentation reviewed for this lesson: inference geo (the per-request inference_geo parameter, plus workspace defaults and allow-lists) and workspace geo (where data is stored at rest, fixed when the workspace is created). At the time of writing the documented values were global and us for inference, and us for workspace geo. On Amazon Bedrock and Google Cloud the inference region is determined by the endpoint or inference profile, so the parameter does not apply. A requirement for processing in a specific region therefore cannot be assumed satisfiable by a parameter: read the current documentation, and treat platform choice as a design lever.
HIPAA: business associates and the BAA chain
Under 45 CFR 160.103 a business associate is a person who, on behalf of a covered entity, creates, receives, maintains or transmits protected health information (PHI) for regulated functions, and a subcontractor doing so for a business associate is one too. 45 CFR 164.504(e) says the business associate contract must, among other things, establish permitted uses and disclosures, require appropriate safeguards (including the Security Rule for electronic PHI), bind subcontractors to the same restrictions, require reporting of unauthorised uses or disclosures, and provide for return or destruction of PHI at termination. Architecturally, every component that touches PHI is a candidate for the chain: the model provider, the vector database host, logging and observability SaaS, the review tool, the cloud.
What Anthropic documents for its API (read on its data-retention page): HIPAA readiness requires a signed BAA, a HIPAA-enabled organization, and use of eligible features only. The feature-eligibility table lists which features qualify, and a HIPAA-enabled organization that sends a request using a non-eligible feature gets a 400 error (the page describes exceptions for some client-side tools that are accepted but remain outside HIPAA readiness). The signed BAA is stated to be the source of truth. That page lists as not covered: consumer plans, use through the Console, partner-operated platforms (see those platforms' own documentation), third-party integrations and, generally, beta features unless listed. Coverage of other Anthropic products, such as Enterprise plans, is described separately, so read the page for the product you actually use. PHI must not appear in JSON schema definitions used for structured outputs or strict tools (property names, enum and const values, patterns), because compiled schemas are cached separately from message content. HIPAA readiness is enforced per organization, so regulated and general-purpose workloads belong in separate organizations. HIPAA readiness and ZDR are distinct arrangements; and some models are documented as requiring 30-day retention and not being available under ZDR, a conflict to catch at design time.
Common exam distractor
Four tempting shortcuts: 'the vendor is compliant, so we are' (obligations remain with you; the agreement covers named features, and your own logs and indexes are in scope); 'ZDR equals HIPAA' (different arrangements with different purposes); 'one region setting solves residency' (inference location and storage location are separate controls and requirements can target either); and 'the vendor is authorised, so any offering is' (status attaches to a specific offering and boundary).
FedRAMP: an assurance boundary, not a model property
FedRAMP.gov describes a government-wide programme for the security assessment of cloud services, and its marketplace as a searchable database of FedRAMP certified cloud services, authorizing agencies and recognised assessors. Its current material also describes certification classes (A to D) alongside the familiar Low, Moderate and High impact levels, and states that classes indicate the level of assurance, not the level of security, and that agencies should categorise their own information system first and then review the certification package. Check FedRAMP.gov for the current state of that transition.
Three design consequences. Authorization attaches to a specific cloud service offering within a defined boundary, so your system serving a federal customer is only as strong as every component in its data path: the model offering, the hosting for your orchestration, the vector store, the logging service. The same model reached through different channels (first-party API versus a cloud provider's platform) can be a different offering with its own status. So verify the specific offering and level on the FedRAMP Marketplace and in the vendor's own documentation; this lesson makes no claim about any Claude offering. Finally, keep federal data on authorised components and draw the boundary explicitly.
Retention, audit and evidence
Auditors want evidence. Anthropic's Compliance API Activity Feed records authentication, chat, file, project, administrative and platform activity for your organization, makes it queryable within about a minute and retains it for six years, but recording begins only when the Compliance API is enabled and is not backfilled. It is organization-level product activity, not a substitute for your own application logs of prompts, model identifier, tool calls and reviewer decisions. Reconcile audit retention with minimisation by logging references and metadata rather than raw personal data, redacting payloads, and applying retention by category. Also describe vendor retention accurately: the documentation states that even under ZDR or HIPAA arrangements Anthropic may retain data where required by law or where content is flagged by its trust-and-safety systems (up to two years for flagged content), so 'zero retention' does not mean nothing is ever retained.
Key concept
Design so obligations are satisfiable and provable: map the data flow, minimise before the model, scope every vendor and every feature to a signed agreement, control location and retention deliberately, and keep evidence. Match the control to the requirement actually stated (inference versus storage, PHI versus other data, a specific offering versus a vendor in general).