Learning resourcesReviewed · Anthropic

Claude API and data retention

This is Anthropic's data retention guide for Claude API developers and privacy teams, but its protections depend on the model, feature and organization. It explains zero data retention, HIPAA readiness, configuration requirements and exceptions that can still permit storage.

Researched 15 Nov 2026

In short.

This is Anthropic's data retention guide for developers and privacy teams building with Claude, but neither zero data retention nor HIPAA readiness covers every feature or use. Zero data retention generally prevents eligible prompts and responses from being stored at rest after a response, while HIPAA readiness requires a signed Business Associate Agreement and organization-level enablement. Crucially, features outside zero data retention coverage can still accept requests and retain data; HIPAA restrictions generally block ineligible requests, with documented exceptions. Model requirements, cached schemas, external services and legal or safety retention also affect coverage. Actual API enforcement and deletion behavior have not been tested, and pricing is unknown.

Researched and written by an AI model and checked by a second AI model. How it works

The source scope is the complete documentation page at [https://platform.claude.com/docs/en/manage-claude/api-and-data-retention.md], including platform boundaries, ZDR and HIPAA arrangements, model-specific requirements, feature eligibility tables, retention exceptions, FAQs and related-resource notices. Linked pages, contracts, the HIPAA Implementation Guide and external provider policies are excluded. Their links do not establish their contents. No software or API calls were executed; operational enforcement, retention timing and application compliance remain untested. No redistribution license is established by the supplied page.

The overview

Identity

API and data retention is Anthropic's documentation for understanding how Claude API features store data and qualify for privacy arrangements. The original source is [https://platform.claude.com/docs/en/manage-claude/api-and-data-retention.md]. It is a reference guide rather than an executable tool or implementation package.

The page addresses services where Anthropic is the data processor, including the first-party Claude API, Claude Platform on AWS, Anthropic-managed Claude Models on Google Cloud and Claude in Microsoft Foundry. It distinguishes these from Amazon Bedrock and Google-managed deployments, where the cloud provider's documentation governs equivalent controls.

Assessment

The guide is useful for deciding whether a proposed combination of Claude models, features and hosting arrangements matches a workload's data handling requirements. Its feature tables provide concrete distinctions that a general privacy statement would not resolve, including storage durations, client-side responsibilities and differences between arrangements.

Its most consequential warning is that zero data retention is not a universal request filter. A request using an ineligible feature can succeed while placing that feature's data outside the arrangement. The guide supports design decisions, but does not establish that a particular application is compliant or that its deployed configuration behaves as intended.

Users

The main readers are developers choosing API features, architects defining data boundaries, organization administrators configuring access, and privacy or legal teams reviewing contractual coverage. Teams handling protected health information, meaning individually identifiable health information, will find specific guidance on HIPAA readiness and where that information may appear.

Beginners can use the definitions and frequently asked questions to understand the arrangements. Experienced developers get endpoint names, request parameters, error behavior and retention details. Readers assessing Claude consumer subscriptions or general web-app privacy will need other documentation because those products are outside the API arrangement described here.

Capabilities

The reference maps individual features to zero data retention and HIPAA eligibility. Standard Messages API calls, token counting, citations, thinking, inline PDF support, prompt caching and several client-side tools are listed as eligible for both, subject to the page's model and feature qualifications.

It identifies important exclusions: batch processing, Files API, hosted code execution, programmatic tool calling, Agent Skills, the MCP connector and message threads are listed as ineligible for both arrangements. Hosted Managed Agents are also outside both; self-hosted Managed Agents have a stated zero data retention exception.

The table distinguishes closely related options. Browser use is zero data retention eligible but outside HIPAA readiness, while computer use is listed as eligible for both. Web search is listed as eligible for both, but its dynamic filtering is excluded. Web fetch is zero data retention eligible and HIPAA ineligible, with dynamic filtering excluded from both.

Using it

Requirements

Zero data retention requires an arrangement enabled separately for each organization through Anthropic. It does not automatically extend to new organizations under the same account. Organizations using it cannot call the Claude API directly from a browser because cross-origin requests are rejected; a web application must send requests through its own backend.

HIPAA-ready API access requires a signed Business Associate Agreement, or BAA, and a HIPAA-enabled organization. Self-service acceptance requires the appropriate administrator permission and an authorized legal representative. Foundry additionally requires HIPAA configuration on the Azure subscription through the Anthropic account team.

The page lists Claude Fable 5, 5.1 and 5.2 and Claude Mythos 5, 5.1 and 5.2 as Covered Models requiring 30-day retention. Their use under zero data retention requires express Anthropic authorization, regardless of a feature's eligibility.

Mechanism

Under zero data retention, or ZDR, Anthropic says eligible customer prompts and responses are not stored at rest after the API response returns. Qualified eligibility allows a documented technical artifact to remain temporarily. Structured outputs and strict tool use cache JSON schemas for up to 24 hours since last use; cache diagnostics briefly retain fingerprints and token-count estimates. Prompt caching instead holds cache representations and cryptographic hashes in memory for its cache lifetime.

HIPAA readiness applies safeguards such as encryption, access controls and audit logging rather than requiring immediate deletion. Ineligible features generally produce a 400 invalid_request_error. Browser use is an explicit accepted-but-uncovered exception. User profiles can also be used by HIPAA-enabled organizations, but are outside HIPAA eligibility and must not contain protected health information.

Structured-output schemas receive different protections from message content. The page prohibits protected health information in schema property names, enum values, const values and pattern expressions. Patient-specific information belongs in protected message content rather than schema definitions.

Setup

To request ZDR, the page directs organizations to Anthropic sales at [https://claude.com/contact-sales]. Existing coverage should be confirmed through contract terms or the account representative. Claude Code with Commercial organization API keys can use this API arrangement; Claude Code through Enterprise requires a separate offering and enablement.

For standard HIPAA enablement, an eligible administrator opens [https://platform.claude.com/settings/privacy], selects the organization, downloads the BAA and implementation guide, and accepts the agreement as an authorized representative. Controls take effect immediately. The page says this organization-level configuration is permanent and cannot be disabled by an administrator; general-purpose workloads need a separate organization.

A ZDR organization can enable 30-day retention in a specific non-default workspace to access Covered Models. The documented process requires selecting Standard data retention, saving and accepting the retention terms. The Default Workspace always follows the organization setting, and other workspaces retain their existing defaults.

Example

Consider a team designing patient-note extraction. A documentation-based design could use a HIPAA-enabled organization, a signed BAA, PDFs sent inline through the Messages API and structured outputs. Patient names would appear in message content, while the schema would use generic field names. Uploading those PDFs through the Files API would introduce a feature the table marks as HIPAA ineligible.

For a separate ZDR workload, adding hosted code execution changes the retention boundary even though the request still uses /v1/messages. The page says such requests are not blocked under ZDR, and code-execution container data can be retained for up to 30 days. These are illustrative applications of the documentation; neither scenario was executed or tested.

Assessment & evidence

Limitations

Neither arrangement eliminates all retention. Anthropic may retain data for legal requirements or automated trust and safety flags; flagged inputs and outputs may be kept for up to two years. External services apply their own controls. Website publishers may retain web-fetch request information, and exported telemetry is governed by the destination service after delivery.

The API ZDR arrangement excludes Console usage, consumer products, Claude Teams and Claude Enterprise product interfaces (Claude Code on Claude Enterprise has its own separate ZDR offering, outside this arrangement), and Claude for Excel. Claude Code productivity metrics may be retained when metrics logging is enabled. HIPAA readiness excludes Claude Code, Console processing, Claude Platform on AWS and external integrations, and generally excludes beta features unless explicitly eligible.

Compliance records follow separate rules. Activity Feed data is retained for six years. Local session transcripts default to six years or a finite organization conversation-retention period, while remote transcripts have no default retention period. Local sessions with ZDR in effect are not captured. For HIPAA-enabled organizations, the Compliance API captures only Cowork and Claude Code local sessions and stores those transcripts for 30 days.

Reasoning

The documented distinctions make model choice, feature choice, organization configuration and storage location separate design decisions. An eligible endpoint alone cannot establish coverage because ineligible features can share that endpoint. Likewise, a successful response cannot establish HIPAA coverage because some uncovered services remain accessible.

A practical implication is that application code needs its own feature controls for ZDR workloads. For HIPAA workloads, API rejection helps enforce restrictions, while schema contents, local storage and external services still require application-level decisions.

Alternatives

The page presents HIPAA readiness as the appropriate arrangement for organizations handling protected health information and says they do not also need ZDR. ZDR instead addresses storage after eligible responses. These arrangements have different feature sets, so choosing between them changes available functionality.

Hosting choices also matter. Claude Platform on AWS and Anthropic-managed Claude Models on Google Cloud offer requested ZDR under the first-party retention policy. Claude Platform on AWS does not offer HIPAA readiness. Foundry is listed as HIPAA eligible with the required BAA and configuration. Amazon Bedrock and Google-managed deployments require their providers' documentation; equivalent controls and comparative costs are not assessed here.

Evidence

The evidence is the complete supplied Anthropic documentation page, whose canonical web address is [https://platform.claude.com/docs/en/manage-claude/api-and-data-retention]. It includes definitions, eligibility tables, setup instructions, sample error responses and frequently asked questions.

The claims about storage and enforcement are Anthropic's documented statements. Linked contracts, implementation guides, feature pages and provider policies were not supplied. Nothing was executed, so actual API responses, deletion timing, configuration behavior and end-to-end application compliance remain untested.

Access & freshness

Costs

The page does not provide API rates, ZDR fees, HIPAA enablement charges, minimum spending commitments or negotiated pricing. These costs remain unknown. Its reference to pay-as-you-go Commercial API keys for Claude Code establishes an access route, without establishing the price of that route or its privacy arrangements.

Rights

Anthropic states that retained data is not used for model training without express permission. This commitment does not eliminate the documented storage exceptions. Contract terms determine ZDR coverage, and the signed BAA is the stated authority for covered HIPAA features.

The supplied page does not contain the contracts, comprehensive data ownership terms or a documentation redistribution license. Permission to redistribute the page or linked material is therefore not established by this evidence.

Freshness

The supplied page was captured on 15 November 2026 at 06:10:22.725 UTC. No publication or last-update date is provided. Model coverage, beta eligibility and enablement options may change; their status beyond this capture is unknown. The page directs readers to their contracts or Anthropic account representative for current ZDR eligibility.

Actions

Before choosing an arrangement, map the workload's models, features, endpoints, schemas and external services to the eligibility table. Confirm ZDR activation for the specific organization and review workspace retention overrides. For web applications using ZDR, route API calls through a backend.

For protected health information, confirm the signed BAA and eligible features, keep patient information out of schemas and uncovered metadata, and review external storage separately. Account for permanent HIPAA organization enablement before acceptance. Obtain current contractual coverage and pricing directly from Anthropic because the page does not establish those account-specific terms.

Evidence for this report

selected-page.txtselected · checked 2026-11-15