Anthropic Capability minor

Request IDs now appear in error response bodies

Error responses from the Claude API now carry the request ID in the JSON body as well as the existing request-id header, so logged errors are traceable without capturing response headers.

What does this mean for me?

  • Engineering leadership

    Cost, risk, timeline, team impact Worth knowing

    Support escalations get faster because failed calls are now traceable from your logs alone. No work needed beyond telling the team it exists.

  • Engineer

    What to change, what breaks, what to test Worth knowing

    Read the request ID straight out of the error JSON body instead of relying on the `request-id` header, which many log pipelines drop. Nothing changed in existing fields, so this is purely additive.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is an API logging detail.

Previously the only way to record a request ID was to read the request-id response header. Many logging setups keep the body and drop the headers, which made support requests harder to trace.

The ID is now part of the error shape itself. No existing field changed, so this is additive.

API surface

ParameterChangeBreakingModels
request_idaddedno

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