Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Before changedapi/migration-2026-10-21

Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+26added
Lines−26removed
From line 140 where the diff opens
First seen 23 Oct 2026 this site's first read of the page
Recorded edits7to this page, all time

The whole hunk

from line 140, old and new numbered
/
lines
from line 140
140140 
141141Admin API:
142142 
143| Endpoints | Old name | New name |
144| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
145| [RBAC groups](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/list): create, list, retrieve, and update | `roles` | `role_ids` |
146| [RBAC group members](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/members/list): list and add, and the response to [removing a member](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/members/remove) | `group_id` | `rbac_group_id` |
147| [RBAC roles](https://platform.claude.com/docs/en/api/beta/organization/rbac_roles/list): list and retrieve | `name` | `display_name` |
148| [Organization](https://platform.claude.com/docs/en/api/organization/rate_limits/list) and [workspace](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/list) rate limits: list, and the response to [setting a workspace’s rate limits](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/update) | `group_type` | `group.type` |
149| [API keys](https://platform.claude.com/docs/en/api/organization/api_keys/list): list, retrieve, and update | `workspace_id` | `scope` (different values; see [`workspace_id` on API keys](https://platform.claude.com/docs/en/api/migration-2026-10-21#api-key-workspace-id)) |
143| Endpoints | Old name | New name |
144| ----- | ----- | ----- |
145| [RBAC groups](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/list): create, list, retrieve, and update | `roles` | `role_ids` |
146| [RBAC group members](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/members/list): list and add, and the response to [removing a member](https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/members/remove) | `group_id` | `rbac_group_id` |
147| [RBAC roles](https://platform.claude.com/docs/en/api/beta/organization/rbac_roles/list): list and retrieve | `name` | `display_name` |
148| [Organization](https://platform.claude.com/docs/en/api/organization/rate_limits/list) and [workspace](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/list) rate limits: list, and the response to [setting a workspace’s rate limits](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/update) | `group_type` | `group.type` |
149| [API keys](https://platform.claude.com/docs/en/api/organization/api_keys/list): list, retrieve, and update | `workspace_id` | `scope` (different values; see [`workspace_id` on API keys](https://platform.claude.com/docs/en/api/migration-2026-10-21#api-key-workspace-id)) |
150150 
151151Claude Enterprise Analytics API:
152152 
153| Endpoints | Old name | New name |
154| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | --------------------- |
153| Endpoints | Old name | New name |
154| ----- | ----- | ----- |
155155| Per-user [usage](https://platform.claude.com/docs/en/api/beta/organization/analytics/user_usage_report/list) and [cost](https://platform.claude.com/docs/en/api/beta/organization/analytics/user_cost_report/list) reports | `actor.email` | `actor.email_address` |
156| [Activity summaries](https://platform.claude.com/docs/en/api/beta/organization/analytics/summaries/list) | `summaries` | `data` |
156| [Activity summaries](https://platform.claude.com/docs/en/api/beta/organization/analytics/summaries/list) | `summaries` | `data` |
157157 
158158The `group_type` query parameter on the rate-limit list endpoints and the `workspace_id` filter on the API key list endpoint are unchanged.
159159 
from line 351
351351 
352352 The methods that take a list of content blocks have new names on the builders of `MessageCreateParams`, `StructuredMessageCreateParams`, `MessageCountTokensParams`, and `BatchCreateParams.Request.Params`:
353353 
354 | v2 | v2 beta | v3 |
355 | ---------------------------------- | --------------------------------------------- | ----------------------------------------- |
356 | `addUserMessageOfBlockParams` | `addUserMessageOfBetaContentBlockParams` | `addUserMessageOfContentBlockParams` |
354 | v2 | v2 beta | v3 |
355 | ----- | ----- | ----- |
356 | `addUserMessageOfBlockParams` | `addUserMessageOfBetaContentBlockParams` | `addUserMessageOfContentBlockParams` |
357357 | `addAssistantMessageOfBlockParams` | `addAssistantMessageOfBetaContentBlockParams` | `addAssistantMessageOfContentBlockParams` |
358 | `addSystemMessageOfBlockParams` | `addSystemMessageOfBetaContentBlockParams` | `addSystemMessageOfBlocks` |
358 | `addSystemMessageOfBlockParams` | `addSystemMessageOfBetaContentBlockParams` | `addSystemMessageOfBlocks` |
359359 
360360 On the content class, `BlockParams` (`BetaContentBlockParams` in beta) becomes `ContentBlockParams` in `ofBlockParams`, `blockParams()`, `isBlockParams()`, `asBlockParams()`, and the visitor’s `visitBlockParams`.
361361 
from line 426
426426 
427427 The `Role` enum modules stay. These constants moved. The names that start with `Beta` are under `Anthropic::Beta`, and the others are under `Anthropic`:
428428 
429 | Removed | Use instead |
430 | --------------------------- | ------------------------------------------------------------------------------------ |
431 | `MessageParam::Content` | `MessageContentParam`, or `SystemMessageParam::Content` for a system message |
429 | Removed | Use instead |
430 | ----- | ----- |
431 | `MessageParam::Content` | `MessageContentParam`, or `SystemMessageParam::Content` for a system message |
432432 | `BetaMessageParam::Content` | `BetaMessageContentParam`, or `BetaSystemMessageParam::Content` for a system message |
433 | `BetaMessageParam::ClearAt` | `BetaSystemMessageParam::ClearAt` |
433 | `BetaMessageParam::ClearAt` | `BetaSystemMessageParam::ClearAt` |
434434 
435435 If you type-check with Sorbet, `MessageParam::OrHash` is gone, and `Anthropic::MessageParam` as a type no longer accepts an instance. Use `Anthropic::MessageParam::Variants` for the three classes, each of which has its own `OrHash`. In RBS, a value typed `Anthropic::MessageParam` has no `role` or `content`. Use the `Anthropic::Models::message_param` alias, which was the hash form of a message and is now the union of the three classes. The beta names are `BetaMessageParam::Variants` and `Anthropic::Models::Beta::beta_message_param`.
436436 </Tab>
from line 450
450450 
451451 An optional property, such as `BetaManagedAgentsGlobToolConfigParams.Type`, keeps its enum. Two of those enums have a new name:
452452 
453 | v12 | v13 |
454 | ------------------------------------------- | ----------------------------------------- |
455 | `BetaManagedAgentsBashToolConfigParamsType` | `Anthropic.Models.Beta.Agents.Type` |
456 | `BetaPackagesType` | `Anthropic.Models.Beta.Environments.Type` |
453 | v12 | v13 |
454 | ----- | ----- |
455 | `BetaManagedAgentsBashToolConfigParamsType` | `Anthropic.Models.Beta.Agents.Type` |
456 | `BetaPackagesType` | `Anthropic.Models.Beta.Environments.Type` |
457457 
458458 When you build an object, delete the property:
459459 
from line 1207
12071207 <Tab title="CLI">
12081208 **`--api-key` and `--auth-token` are removed.** `ant` no longer takes an API key or authentication token as a flag value, because a value on the command line is visible in shell history and process listings. Both flags have printed a deprecation warning since v1.27.0. A command that still passes one stops with `flag provided but not defined`.
12091209 
1210 | Removed | Use instead |
1211 | ---------------------- | ----------------------------------------------------------- |
1212 | `--api-key <key>` | `ANTHROPIC_API_KEY`, `--api-key-stdin`, or `ant auth login` |
1213 | `--auth-token <token>` | `ANTHROPIC_AUTH_TOKEN` or `--auth-token-stdin` |
1210 | Removed | Use instead |
1211 | ----- | ----- |
1212 | `--api-key <key>` | `ANTHROPIC_API_KEY`, `--api-key-stdin`, or `ant auth login` |
1213 | `--auth-token <token>` | `ANTHROPIC_AUTH_TOKEN` or `--auth-token-stdin` |
12141214 
12151215 ```bash
12161216 # Before
Feedback