Anthropic Breaking change major

API version 2026-10-21 removes sampling parameters and renames Admin API fields

Anthropic released API version 2026-10-21. Requests on it return 400 for temperature, top_p or top_k at any value, for document blocks in assistant messages, and for citations on user text blocks. Admin API responses drop old field names.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Plan for it

    Moving to the new API version, or to the new SDK majors that send it, breaks requests using temperature/top_p/top_k and some Admin API integrations. Budget a migration and test pass before teams upgrade SDKs.

  • Engineer

    What to change, what breaks, what to test Plan for it

    Before sending anthropic-version 2026-10-21: remove temperature, top_p and top_k (any value now 400s), move document blocks out of assistant messages, and drop citations from user text blocks. Switch Admin API code from workspace_id to scope.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do. This is a developer API change and does not affect the Claude apps.

Anthropic released a new Claude API version, 2026-10-21, the first since 2023-06-01. A request opts in with the anthropic-version: 2026-10-21 header, or by using the new major SDK versions, which send it by default. Requests that keep sending 2023-06-01 behave as before.

On 2026-10-21, the Messages API, token counting and Message Batches return a 400 error when a request:

  • sends temperature, top_p or top_k, even at the default value;
  • places a document block directly in an assistant message (a document nested in a tool result is still accepted);
  • sends a non-empty citations array on a text block in a user message, including inside search_result blocks.

The sampling change matters most on models that still accept non-default values, such as Claude Sonnet 4.6: a request that lowered temperature for more consistent output loses that effect, and no other setting replaces it. The migration guide says to drop the parameter or keep that request on 2023-06-01. Claude 4.7 and later models already accepted only the defaults, so they sample as before.

Admin API and Claude Enterprise Analytics API responses no longer include the old names of renamed fields: roles becomes role_ids on RBAC groups, group_id becomes rbac_group_id, name becomes display_name on RBAC roles, group_type becomes group.type on rate limits, actor.email becomes actor.email_address, and summaries becomes data. On API keys, workspace_id is removed in favour of scope; a key bound to the Default Workspace now reports that workspace’s real ID instead of null.

On Amazon Bedrock, 2026-10-21 works only with Claude 4.7 and later models; calls to older models there must stay on the current version.

API surface

ParameterChangeBreakingModels
temperatureremovedyes
top_premovedyes
top_kremovedyes
workspace_idremovedyes

Terms on this page: Rate limit

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person