Anthropic Capability minor

Cache diagnostics goes generally available on the Claude API

Cache diagnostics no longer needs the cache-diagnosis-2026-04-07 beta header: include the diagnostics object on a Messages request to opt in. Every POST /v1/messages response now carries a diagnostics field, null when not requested.

What does this mean for me?

Action needed
  • Engineering leadership

    Cost, risk, timeline, team impact No impact

    No budget or roadmap impact. This is a debugging feature leaving beta.

  • Engineer

    What to change, what breaks, what to test Action needed

    Send the diagnostics object on every Messages turn (with previous_message_id null on the first); the header alone no longer stores a fingerprint. Make sure response parsers accept the diagnostics field, which is now always present and null when not requested.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do. This is an API debugging feature and does not affect the Claude apps.

Cache diagnostics left beta on the Claude API on September 23, 2026. The cache-diagnosis-2026-04-07 beta header is no longer required; including the diagnostics object on a Messages request is what opts in, and requests that still send the header work as before.

Responses from POST /v1/messages now always include a diagnostics field, which is null when the request did not include the diagnostics object. Strict response parsers that reject unknown fields need to accept it.

The release notes also back-filled two earlier changes to the beta. From September 9, 2026, a request’s fingerprint is stored only when the request includes the diagnostics object, so a turn that sent only the header cannot be referenced by a later previous_message_id (it reports previous_message_not_found); send diagnostics on every turn, with "previous_message_id": null on the first. From September 18, header-bearing responses always carried the field.

API surface

ParameterChangeBreakingModels
cache-diagnosis-2026-04-07changedno
diagnosticschangedno

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person