Anthropic Python SDK v2.13.0 Adds External Storage API and Deprecates Claude Opus 4.5
The latest Anthropic Python SDK introduces error codes for message batch creation, adds beta support for external storage in the Admin API, includes new webhooks for storage events, and announces the deprecation timeline for Claude Opus 4.5.
What changed?
The Anthropic Python SDK v2.13.0 introduces several API changes. Message batches creation now returns error codes on failure. The Admin API beta adds support for external storage management. Webhook events now enable applications to receive notifications on external storage failures and recoveries. In addition, Claude Opus 4.5 has been marked as deprecated and will reach end of life on January 22, 2027.
Why does it matter to an everyday developer?
These API updates improve error visibility and operational robustness. Error codes for message batches allow developers to programmatically handle failed batch operations. External storage support and dedicated webhook events provide better tools for monitoring and managing storage-integrated workflows. The advance notice of Claude Opus 4.5 deprecation gives developers time to migrate to supported models, ensuring continuity and compliance.
What can the developer do now?
- Update project dependencies to v2.13.0 to access new features.
- Handle error codes when creating message batches to improve error response logic.
- Integrate with the Admin API beta to use external storage features.
- Subscribe to new webhook events for proactive monitoring of storage issues.
- Begin planning migration from Claude Opus 4.5 if currently in use. Full deprecation occurs January 22, 2027.

