Claude API adds anthropic-workspace-id response header
Claude API responses now carry an `anthropic-workspace-id` header with the `wrkspc_`-prefixed ID of the workspace that the request's API key or access token resolved to.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingResponses now identify which workspace a request billed against, which makes per-tenant cost and rate-limit attribution cheaper to build. Nothing breaks; adopt it if chargeback or multi-tenant reporting is on your roadmap.
Engineer
What to change, what breaks, what to test Worth knowingRead the `anthropic-workspace-id` response header for the `wrkspc_`-prefixed workspace your key or token resolved to, including the Default Workspace. It's additive and per-response, so you can log it for attribution without an Admin API lookup.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change and does not affect the Claude apps.
Responses from the Claude API now include an anthropic-workspace-id header. Its value is the wrkspc_-prefixed identifier of the workspace that the credential on the request resolved to, including an organization’s Default Workspace when no explicit workspace applies.
The change is additive: nothing is removed or renamed, and existing integrations continue to work unchanged. It is useful if you rotate keys across workspaces or run multi-tenant infrastructure and want to attribute a response — and therefore its spend and rate-limit bucket — to a workspace without a separate Admin API lookup.
Note that this is per-response, so it reflects the credential actually used at call time rather than what your configuration says it should be; logging it is the cheapest way to catch a request that went out under the wrong key.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
anthropic-workspace-id (response header) | added | no |
Terms on this page: Rate limit