CertSafari
    Anthropic Claude Certified Architect – Professional (CCAR-P)· Lessons

    Domain 5 · Lesson 29/38

    HIPAA, BAAs and zero data retention for Claude

    Ensure compliance with regulations

    15 min read
    2.8% of exam
    4 sources
    Published 19 Oct 2026
    Docs as of 14 Oct 2026

    What you will be able to do

    • Say who processes prompts and outputs on each Claude surface, and what that means for which controls apply
    • Tell what zero data retention covers and what it leaves out, and explain why the API does not block ineligible features under it
    • Enable HIPAA readiness, predict which requests the API will reject, and keep PHI where the BAA protects it
    • Decide where a PHI workflow can legally run, and let one ZDR workspace use a Covered Model without changing the others

    Key concept

    Data processor — The party that handles your prompts and outputs depends on where you run Claude. On the Claude API, Claude Platform on AWS and Microsoft Foundry, that party is Anthropic. On Amazon Bedrock and Google Cloud's Agent Platform, it is the cloud provider. Anthropic's retention arrangements and BAA only reach data that Anthropic processes.

    1.Who processes the data decides which controls apply

    Every compliance question about Claude starts with the same fact: who processes the data in this deployment. On the Claude API (api.anthropic.com), Claude Platform on AWS and Claude in Microsoft Foundry, Anthropic processes prompts and outputs. That means Anthropic's two data handling arrangements, zero data retention (ZDR) and HIPAA readiness, are the controls you request and configure. On Amazon Bedrock and Google Cloud's Agent Platform, the cloud provider is the processor, and the equivalent controls are in that provider's own retention and compliance documentation.

    Claude Platform on AWS is the surface people most often get wrong. It is billed through AWS Marketplace and opened from the AWS Console, but Anthropic operates it and it follows the same data retention policy as the first-party API. On Bedrock, AWS runs inference. If you put a deployment in the wrong column, you will read the wrong vendor's compliance terms for it.

    Some commitments apply even without either arrangement. Retained data is never used for model training without your express permission. Conversation content is not retained by default. The exception is Covered Models, which require 30-day retention. Where a feature has to store something, its own page gives the retention period.

    Checkpoint 1 of 8· Check yourself

    A team buys Claude through AWS Marketplace and opens it from the AWS Console as Claude Platform on AWS. Their compliance officer asks which vendor's data retention controls govern their prompts and outputs. What is the correct answer?

    Sources12

    2.Zero data retention: its scope, and the requests it does not stop

    Under ZDR, Anthropic does not store your prompts or responses at rest once the API response has been returned. You request it from the Anthropic sales team, and it is enabled per organization. If you create a second organization under the same account, it does not inherit ZDR. The account team has to enable it there separately.

    ZDR applies to:

    • The Messages and Token Counting APIs, for the features marked eligible in the feature eligibility table
    • Claude Code used with API keys from a Commercial organization, except for metrics logging: if it is turned on, usage statistics are exempt and may be retained
    • Claude Platform on AWS, on request through your Anthropic account representative

    ZDR does not apply to the Claude Console (including the playground), Claude Managed Agents (session transcripts persist until you delete them), consumer Free, Pro and Max plans, the Claude Teams and Enterprise interfaces, Claude for Excel, or third-party integrations. Claude Code on Claude Enterprise has its own, separate ZDR offering. CORS is not supported for ZDR organizations, so browser apps have to send their calls through a backend proxy.

    ZDR is a promise about storage, not a filter on requests. Features marked "No" are usually stateful: they store jobs, files or container state, so they cannot be zero-retention. The API still accepts them, so nothing stops a developer from adding code execution to a ZDR workload. If the workload must stay fully ZDR, your own review process has to catch that, because the API will not.

    Checkpoint 2 of 8· Check yourself

    Your company's main organization has ZDR enabled. Which of these workloads is actually covered by it?

    Sources1

    3.HIPAA readiness: a BAA plus feature limits the API enforces

    HIPAA readiness is the arrangement for organizations that handle protected health information (PHI). It needs a signed Business Associate Agreement (BAA) and a HIPAA-enabled organization. It does not work by deleting data right away. It applies a broader set of safeguards than ZDR: encryption, access controls and audit logging. An organization that processes PHI uses HIPAA readiness and does not also need ZDR.

    Most organizations can turn it on themselves. In the Claude Console, go to the Data retention page (platform.claude.com/settings/privacy). Organization admins with the HIPAA management permission see a HIPAA compliance card there. From it, download the BAA and the HIPAA Implementation Guide, then accept the agreement as an authorized legal representative. Your enablement is tied to the exact BAA version you downloaded. The controls apply as soon as you accept, and the setting is permanent: an administrator cannot turn it off. Organizations that need a negotiated BAA go through the sales team instead.

    Once HIPAA readiness is on, the API enforces the feature list. A request from a HIPAA-enabled organization that includes a non-eligible feature gets a 400 error naming that feature. You remove the feature and send the request again. The error text says "without Zero Data Retention", but that is only the API's wording. Turning on ZDR does not fix the error. One exception: client-side tools whose eligibility entry says they are not blocked are accepted, but they are still outside HIPAA readiness.

    The 400 error a HIPAA-enabled organization gets when a request includes a non-eligible featurejson
    {
      "type": "error",
      "error": {
        "type": "invalid_request_error",
        "message": "The requested features are not available for HIPAA-regulated organizations without Zero Data Retention: code_execution."
      }
    }

    PHI is protected only in certain places. Message content, attached images and PDFs, and file names or metadata tied to messages are all protected. Workspace names, user details, billing data and support tickets are not expected to contain PHI. JSON schemas are the trap. With structured outputs or strict: true tools, the API compiles each schema into a grammar and caches it separately, without PHI protection. Keep patient details out of property names, enum values, const values and pattern regexes.

    How the two arrangements differ for a Claude API organization
    QuestionZero data retentionHIPAA readiness
    What happens to prompts and outputsNot stored at rest after the response is returnedProtected by encryption, access controls and audit logging rather than deleted immediately
    How it is turned onRequest it from Anthropic sales; enabled per organizationSelf-serve on the Console Data retention page with the standard BAA, or through sales for a negotiated BAA
    Request that uses an ineligible featureAccepted; that data follows the feature's own retentionRejected with a 400 invalid_request_error
    Claude Platform on AWS and Microsoft FoundryZDR available on Claude Platform on AWS on requestNot available

    Checkpoint 3 of 8· Check yourself

    A health-tech startup has just accepted the standard BAA on the Console Data retention page. Their next /v1/messages request returns a 400 invalid_request_error: "The requested features are not available for HIPAA-regulated organizations without Zero Data Retention: code_execution." What should the developer do?

    Sources1

    4.Where a BAA does and does not cover PHI

    A signed BAA does not make every Claude product safe for PHI. It covers only the organization that accepted it, and only the features it lists as eligible. Each of these uses of PHI falls outside it, even when the company has a BAA:

    • Claude Console. You can turn on HIPAA readiness from Console settings, but processing PHI in the Console interface, including Workbench, is not covered.
    • Consumer plans. Claude Free, Pro and Max are excluded, so clinicians sharing a Pro subscription for chart lookups are outside the agreement.
    • Claude Enterprise before activation. Standard Enterprise plans have no BAA coverage until the Primary Owner turns on HIPAA compliance under Data and privacy and accepts the BAA.
    • Beta features and third-party integrations. These are generally excluded. For Enterprise Skills and connectors that send data to third parties, administrators who enable them are responsible for how they are used.

    For a clinical summarization pipeline, the compliant setup is a dedicated HIPAA-enabled organization that calls the Claude API using only eligible features. The API's 400 errors then stop any ineligible feature from slipping into a request.

    Claude Code is not covered under an API organization's HIPAA readiness. It can be covered on a HIPAA-ready Claude Enterprise plan, but only if the Primary Owner applies the HIPAA configuration and developers sign in with their Enterprise account and connect directly to the Claude API. Managed settings make sure that is the only path that works.

    Which Claude Code connections can run under the Enterprise HIPAA configuration
    How Claude Code connectsEligible
    A Claude Enterprise account, connecting directly to the Claude APIYes
    Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, Claude Platform on AWS, or a Claude apps gatewayNo
    An LLM gateway or any other custom ANTHROPIC_BASE_URLNo
    A Claude Console API key or federation credentialsNo
    Managed settings that force Claude Code onto the organization's claude.ai sign-in and the Anthropic provider, and set a local retention periodjson
    {
      "forceLoginMethod": "claudeai",
      "forceLoginOrgUUID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "allowedProviders": ["anthropic"],
      "cleanupPeriodDays": 30
    }

    With the configuration applied, Claude Code turns off features that would send data elsewhere: WebFetch (web search still works), cloud sessions and Remote Control, /feedback and /bug, and artifact publishing. MCP tool search is also off, so MCP tools load into context upfront.

    Checkpoint 4 of 8· Check yourself

    Which of these PHI workflows is covered by the hospital group's signed BAA?

    Checkpoint 5 of 8· Fill the gap

    These managed settings are meant to keep Claude Code on a path that is eligible under the Enterprise HIPAA configuration. Which provider value completes them?

    {
      "forceLoginMethod": "claudeai",
      "forceLoginOrgUUID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "allowedProviders": [" ? "],
      "cleanupPeriodDays": 30
    }

    Checkpoint 6 of 8· Exam question

    A digital health startup wants to route protected health information (PHI) from patient intake forms through Claude to summarize clinical notes. The compliance team confirms Anthropic has signed a Business Associate Agreement (BAA) with the company, but must choose where in the Claude product surface this workflow can legally process PHI. Which deployment satisfies the BAA?

    Sources134

    5.Using a Covered Model inside a ZDR organization

    Claude Fable 5.1, Claude Mythos 5.1, Claude Fable 5 and Claude Mythos 5 are Covered Models, and they require 30-day data retention. They are not available under ZDR unless Anthropic has expressly authorized it. The API does not quietly switch on retention for you. If a request reaches one of these models from an organization or workspace whose retention setting does not meet the requirement, it fails with a 400 error.

    The error a Covered Model request returns when the retention requirement is not metjson
    {
      "type": "error",
      "error": {
        "type": "invalid_request_error",
        "message": "In order to access this model, your organization or workspace must have data retention enabled."
      }
    }

    To pilot a Covered Model without dropping ZDR everywhere, use a workspace-level override. On the Console Data retention page, pick the workspace from the dropdown, choose Standard data retention (30-day retention), save, and accept the terms in the confirmation dialog. Retention takes effect only after you accept. After that, Covered Model requests from that workspace succeed, and every workspace without an override stays on the organization's ZDR default. Don't use the Default Workspace for the pilot: it always follows the organization's setting.

    Switching to HIPAA readiness is the wrong tool for this. HIPAA readiness is the arrangement for PHI, and it cannot be turned off again. It is not a way to unlock models. On a HIPAA-ready Enterprise plan with the HIPAA configuration applied, members can use Covered Models in Claude Code and Cowork under the BAA.

    Checkpoint 7 of 8· Put it in order

    Put these steps in order to let one team pilot Claude Fable 5.1 while the rest of the ZDR organization stays on zero data retention.

    1. 1.On the Console Data retention page, select the pilot workspace (not the Default Workspace) from the dropdown at the top of the page.
    2. 2.Send Covered Model requests from that workspace and confirm that they succeed, while workspaces without an override stay on ZDR.
    3. 3.Review and accept the data retention terms in the confirmation dialog.
    4. 4.Select Standard data retention (30-day retention) and click Save.

    Checkpoint 8 of 8· Exam question

    An engineering organization runs under a zero data retention (ZDR) arrangement. One team wants to pilot a Covered Model that requires 30-day data retention in a single workspace, without changing the ZDR posture of the rest of the organization. What should they do?

    Sources13

    Sources

    (4)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “This page covers the Claude API (api.anthropic.com), Claude Platform on AWS, and Claude in Microsoft Foundry, where Anthropic is the data processor.”
      ↩︎ Who processes the data decides which controls apply
      “Retained data is never used for model training without your express permission.”
      ↩︎ Who processes the data decides which controls apply
      “Under a ZDR arrangement, Anthropic does not store customer prompts or responses at rest after the API response is returned.”
      ↩︎ Zero data retention: its scope, and the requests it does not stop
      “enablement does not automatically extend to other organizations under the same account”
      ↩︎ Zero data retention: its scope, and the requests it does not stop
      “CORS is not supported for organizations with ZDR arrangements.”
      ↩︎ Zero data retention: its scope, and the requests it does not stop
      “If metrics logging is enabled in Claude Code, productivity data such as usage statistics is exempted from ZDR and may be retained.”
      ↩︎ Zero data retention: its scope, and the requests it does not stop
      “HIPAA readiness applies a broader set of privacy and security safeguards than ZDR”
      ↩︎ HIPAA readiness: a BAA plus feature limits the API enforces
      “your enablement is bound to the exact BAA version you downloaded”
      ↩︎ HIPAA readiness: a BAA plus feature limits the API enforces
      “When a HIPAA-enabled organization sends a request that includes a non-eligible feature, the API returns a 400 error”
      ↩︎ HIPAA readiness: a BAA plus feature limits the API enforces
      “Do not include PHI in JSON schema definitions.”
      ↩︎ HIPAA readiness: a BAA plus feature limits the API enforces
      “enabling HIPAA readiness from Console settings is supported; processing PHI through the Console is not covered”
      ↩︎ Where a BAA does and does not cover PHI
      “Claude Code: Claude Code is not covered under HIPAA readiness.”
      ↩︎ Where a BAA does and does not cover PHI
      “Organizations with a ZDR arrangement can make these models available in a specific workspace by enabling 30-day retention for that workspace only.”
      ↩︎ Using a Covered Model inside a ZDR organization
      “The Default Workspace always follows the organization's setting, so use another workspace.”
      ↩︎ Using a Covered Model inside a ZDR organization
      “On Amazon Bedrock and Google Cloud's Agent Platform, the cloud provider is the data processor”
      ↩︎ Key concept
      “If your organization handles PHI, HIPAA readiness is the arrangement to use; you do not also need ZDR.”
      ↩︎ Exam trap 1
      “Under ZDR, the API does not block these features; using one is a choice to step outside your ZDR arrangement for that specific data”
      ↩︎ Exam trap 2
      “Once HIPAA readiness is enabled for your organization, the configuration is permanent and cannot be disabled by an administrator.”
      ↩︎ Exam trap 4
      “Claude Platform on AWS follows the same data retention policy as the first-party Claude API.”
      ↩︎ Checkpoint
      “Under ZDR, the API does not block these features; using one is a choice to step outside your ZDR arrangement for that specific data”
      ↩︎ Prediction
      “ZDR applies when Claude Code is used with API keys from a Commercial organization”
      ↩︎ Checkpoint
      “The phrase "without Zero Data Retention" is the API's own wording and does not change the resolution.”
      ↩︎ Checkpoint
      “Data retention turns on for the workspace only after you accept them.”
      ↩︎ Checkpoint
    2. 2.
      “Unlike Amazon Bedrock, where AWS operates the inference stack, Anthropic operates Claude Platform on AWS.”
      ↩︎ Who processes the data decides which controls apply
    3. 3.
      “Standard Claude Enterprise plans do not include BAA coverage without action from a Primary Owner.”
      ↩︎ Where a BAA does and does not cover PHI
      “members can use Covered Models in both products under the BAA”
      ↩︎ Using a Covered Model inside a ZDR organization
      “the BAA only covers the single organization that accepted it, and excludes features such as Claude Console”
      ↩︎ Exam trap 3
      “the BAA only covers the single organization that accepted it, and excludes features such as Claude Console”
      ↩︎ Checkpoint
    4. 4.

    Continue to part 2 of 2

    GDPR, data residency and FedRAMP for Claude deployments

    Spotted a mistake, or was something unclear? Tell us.