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 knowingSupport 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 knowingRead 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 impactNothing 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
| Parameter | Change | Breaking | Models |
|---|---|---|---|
request_id | added | no |