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
Unclear It is not certain the other conditions that lead to the API key label are exactly the same as before.
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.
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 sinceA small documentation edit on Voice dictation touched a line naming /login after this was published.* **`Unknown command: /voice`**: `/voice` is available only while a claude.ai account is your active sign-in. If you aren't signed in with one, run `/login`. If `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, an `apiKeyHelper` setting, or a […voice-dictationsee the edit
Confirmed sinceAnthropic's documentation has since written up /login, on Error reference.* Run `/login` at the Claude Code prompt to sign in againerrorssee the edit
Added sinceA 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/overviewsee the edit
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…