Follow Discord
Sweep 01 Oct 2026 · 17:27Z Build v2.1.287 508 read Stable v2.1.285 Latest v2.1.287 Next v2.1.287 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.286 ·

Keys managed through /login are now labelled as API keys, not claude.ai

Claude Code now reports a key managed through /login as an API key rather than a claude.ai login

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

Claude Code keeps a label for where your sign-in credentials came from. A key managed through /login used to be labelled as a claude.ai login. It is now labelled as an API key (a secret key used to access Anthropic's API directly). Any request that uses ANTHROPIC_API_KEY is also labelled as an API key.

Why

The label decides how your sign-in type is shown and recorded, so a /login-managed key now appears as an API key wherever that label is used.

Read from
Names in the bundle/loginANTHROPIC_API_KEY
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.

Confirmed since Anthropic's documentation has since written up /login, on Error reference. * Run `/login` at the Claude Code prompt to sign in again errors see the edit
Added since A small documentation edit on overview touched a line naming ANTHROPIC_API_KEY after this was published. * The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) is now available in the `ant` CLI and the Python, TypeScript, C#, Go, Java, PHP, and Ruby SDKs under `client.beta.organization`. They cover organization info, m… release-notes/overview see the edit
Confirmed since Anthropic's documentation has since written up ANTHROPIC_API_KEY, on RBAC Groups. -H "X-Api-Key: $ANTHROPIC_API_KEY" \ api/beta/organization/rbac_groups see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not certain the other conditions that lead to the API key label are exactly the same as before.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_API_KEY, on RBAC Groups.
Anthropic's release notes agreeFixed macOS sessions still showing "Not logged in" or "Login expired" after /login succeeds in another Claude Code window when a leftover…

See this entry in the whole of v2.1.286 →

Feedback