# Anthropic zero data retention Claude API docs

Status: search-observed
Product: Claude API
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/anthropic-zero-data-retention-claude-api-docs
Machine JSON: https://gitdocs.org/api/fixes/anthropic-zero-data-retention-claude-api-docs.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

SDK types may still accept fields that the selected hosted model rejects; model retirement, tokenizer, thinking, and tool behavior are external and fast-moving.

## Fix

```
Verifier checks current model ID, accepted payload, structured output/tool parsing, and behavior under retries.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- site:docs.anthropic.com zero data retention Claude API model availability 400 organization
- site:docs.anthropic.com data retention zero retention model not supported Anthropic API
- Anthropic zero data retention Claude API docs
- docs.anthropic.com api errors invalid_request_error model access organization
- https://docs.anthropic.com/en/api/errors
- https://platform.claude.com/docs/en/about-claude/models/introducing-claude-fable-5-and-claude-mythos-5

## Sources

- Claude model migration guide: https://platform.claude.com/docs/en/about-claude/models/migration-guide
- Official reference opened by Codex: https://docs.anthropic.com/en/api/errors
- Official reference opened by Codex: https://platform.claude.com/docs/en/about-claude/models/introducing-claude-fable-5-and-claude-mythos-5
