← News

SDKs and developer tools

Anthropic Python SDK v2.13.0: Batch error codes, external storage beta and an Opus 4.5 sunset date

Anthropic shipped Python SDK v2.13.0, adding an error code to Message Batches creation, External Storage with failure/recovery webhooks in the Admin API beta, and marking Claude Opus 4.5 for end-of-life on January 22, 2027.

Published: 2026-11-23 18:42 UTCUpdated: 2026-11-23 18:42 UTCSource date: 2026-11-23

Official announcement

Anthropic published the changes in its release notes for anthropic-sdk-python v2.13.0. According to that announcement, Message Batches creation now includes an error code field so callers can identify why a creation request failed. The notes also state that External Storage was added to the Admin API beta, alongside new webhook events for external storage failure and recovery. The changelog records a client-side fix: the SDK now builds the correct class for tool results whose value types are unknown. In addition, Anthropic marks Claude Opus 4.5 as deprecated in the SDK's generated data, with an end-of-life date of January 22, 2027, and it stops warning on models that are already retired. All of this is the publisher's own account; RouterXSI has not independently tested it.

Analysis

For teams calling the batch endpoint directly, the new error code only helps if local parsing covers the field; code that reads responses against the old shape may ignore it and still surface failures as opaque errors, so the creation-failure path deserves a check after upgrading. External Storage is a vendor-designated beta surface, meaning its interface and availability may change, and it should not be treated as a stable contract in long-lived architecture; the accompanying failure and recovery webhooks also need validation for retry and idempotency behavior. The tool-result fix points to a real edge case: callers with custom tool schemas whose outputs are not plain strings should regression-test after upgrading. The most actionable item is the Opus 4.5 deprecation date, which gives teams until January 22, 2027 to plan migration for model strings pinned in code or configuration. These are conditional implications that depend on each team's implementation.

What remains unverified

Several practical details lack independent measurement: the exact field structure and trigger conditions of the new error code, the actual availability and quotas of the External Storage beta, the retry semantics of the webhooks, and compatibility of existing tool-calling flows after the SDK upgrade. The announcement does not name a recommended successor for Opus 4.5, so that should be confirmed against later official documentation.


Related articles