Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

API guidance now says to send ANTHROPIC_AUTH_TOKEN as a Bearer header only

Claude Code's built-in API guidance now tells the model to send ANTHROPIC_AUTH_TOKEN in the Authorization Bearer header, not x-api-key

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What

Claude Code includes guidance for the model (the AI) on how to call Anthropic's API. When the credential comes from ANTHROPIC_AUTH_TOKEN, that guidance now says to send it in the Authorization: Bearer header and not in the x-api-key header. Before, it said to send the Bearer header together with another header.

Why

In practice, code Claude writes against the API with ANTHROPIC_AUTH_TOKEN should now use only the Bearer header.

Read from
Names in the bundleANTHROPIC_AUTH_TOKEN
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on attribute-requests touched a line naming ANTHROPIC_AUTH_TOKEN after this was published. This sample and others like it on this page send an access token from `ANTHROPIC_AUTH_TOKEN`, such as a [workload identity federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#authenticate-from-your-wo… manage-claude/user-profiles/attribute-requests see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_AUTH_TOKEN, on external-storage. * **An OAuth bearer token with the `org:admin` scope:** Every request on this page takes one in the `authorization: Bearer` header. To get one, see [OAuth bearer token](https://platform.claude.com/docs/en/manage-claude/admin-api#oauth-bear… manage-claude/enterprise-frontier-safeguards/external-storage see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_AUTH_TOKEN, on external-storage.

See this entry in the whole of v2.1.333 →

Feedback