Claude API version 2026-10-21 and new major SDKs bring breaking changes (October 21, 2026)
New SDKs send API version 2026-10-21: temperature, top_p and top_k now return a 400, keys go in Authorization: Bearer.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- Anthropic API keyANTHROPIC_API_KEYGet key
Click Create key. It starts with sk-ant- and is shown only once
What you get
Anthropic released API version 2026-10-21 on October 21, 2026, and new major SDK versions that send it by default: Python SDK 2.0.0, TypeScript SDK 1.0.0, C# SDK 13.0.0, Go SDK 2.0.0, Java SDK 3.0.0, PHP SDK 1.0.0, Ruby SDK 2.0.0 and ant CLI 2.0.0.
What breaks on 2026-10-21:
- Sending
temperature,top_portop_kreturns a 400 error, even at the default value. - A
documentblock placed directly in anassistantmessage returns a 400 error. Send documents inusermessages. - A
textblock with a non-emptycitationsarray in ausermessage returns a 400 error. - In the Admin API,
workspace_idon API keys is removed. Readscopeinstead.
What changes in the SDKs:
- The SDKs send your key as
Authorization: Bearer <key>instead ofX-Api-Key. The API accepts either, but a proxy or gateway that readsX-Api-Keymust be updated. - The legacy Text Completions API is removed from the TypeScript, Go, Java and Ruby SDKs and the CLI.
- The SDKs and CLI are now licensed under Apache 2.0 instead of MIT.
Prerequisites
Steps
- Remove
temperature,top_pandtop_kfrom every request. - Move any
documentblocks out ofassistantmessages and intousermessages. - If a proxy or gateway sits between you and the API, make it read
Authorizationinstead of .
