Anthropic › Anthropic Python SDK
Anthropic Python SDK 2.4.0
Anthropic · SDK / library · v2.4.0 · Released
View official release notes ↗ Copy link
Features
- api: add GA methods for analytics, spend limits and RBAC
- api: add named beta types for unified metrics and RBAC delete responses
- api: add shared analytics order and increase request actor types
- api: add tool_use_limit_reached_error and compaction_limit_reached_error session error types
- api: add types for analytics group_by and spend limit period filters
- api: add user_profile_id to External Keys and Workspaces
Bug Fixes
- api: make spend_limit nullable in the spend limit increase request approve response
- api: require always-sent analytics fields and drop the unused project product field
- client: let pydantic validate params types that accept omit
Chores
- ci: remove unused build upload steps
- docs: clarify the Slack channel id description
- docs: clarify what disabling the Compliance API stops
- docs: clarify what the capability_access_all role action grants
- docs: link Dreams model fields to the supported models section
- docs: update example user ID in Admin API examples
- internal: add a section for each repository's own review rules
- internal: plainer wording in worker comments
Documentation
- client: add missing await to the async parse() docstring example
- examples: keep the message threads example valid on Sonnet 5.5
- examples: use current model IDs
- readme: point to the docs site for documentation
- link to the SDK documentation instead of removed README sections
Source: Anthropic's official Anthropic Python SDK release notes at github.com. Text reproduced from the source for reference; all rights belong to Anthropic. Patchwire is not affiliated with Anthropic.
Get new Anthropic Python SDK releases by email
Every AI dev-tool release, including Anthropic Python SDK, in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Anthropic Python SDK releases
Full Anthropic Python SDK changelog →
More from Anthropic
Other Anthropic changelogs: Claude Code · Claude apps · Claude API · Anthropic TypeScript SDK · Claude Agent SDK. All Anthropic releases →