Back
AnthropicClaude API
For cache diagnostics, the API now stores a request's fingerprint only when the request includes the…
AI summary
Written by AI from the official notes. Check them for exact details.The API now only stores a request's fingerprint when the diagnostics object is included.
- Fingerprint stored only with
diagnosticsobject - Requests with only beta header accepted without fingerprint
- Previous message ID reports
previous_message_not_foundif no fingerprint stored
Why it matters: Developers using the API should ensure they include the diagnostics object for effective cache diagnostics.
Full release notes
- For cache diagnostics, the API now stores a request's fingerprint only when the request includes the
diagnosticsobject. A request that sends only thecache-diagnosis-2026-04-07beta header is still accepted, but no fingerprint is stored. A later turn that pointsprevious_message_idat it reportsprevious_message_not_found. Includediagnosticson every turn, with"previous_message_id": nullon the first.