Anthropic APINew featuremedium

Anthropic requires workspace ID header for multi-workspace API keys

Detected
Aug 28, 2026
Confidence
82%

What changed

Anthropic has added anthropic-workspace-id as a new request header, required for multi-workspace API keys and optional for others. Additionally, API key creation now supports selecting a key type, and the workspace management guidance has been updated.

What to do

If your API key is scoped to multiple workspaces, you must now pass the anthropic-workspace-id request header to select the target workspace. Single-workspace keys are unaffected but may optionally include it. Review the new 'Key types' documentation when creating new API keys.

Affected

header: anthropic-workspace-idendpoint: POST /v1/oauth/token

Source: docs.anthropic.com (Anthropic's own page, checked by Breakwatch)

Is your code affected?

Search your repositories for the Anthropic SDK and the names above:

npm: @anthropic-ai/sdkpip: anthropicruby: anthropicgo: github.com/anthropics/anthropic-sdk-gojava: com.anthropic:anthropic-javarust: anthropic

Or let Breakwatch do it: connect a repo and see which files call Anthropic, then get the next change as an alert pointing at those files. Check a repo free

Get Anthropic API changes by email

Once a week: the breaking changes and upcoming deadlines for Anthropic, each linked to the vendor's own page. Free, no account. One-click unsubscribe.

More Anthropic API changes

Every Anthropic API change →