Model BehaviorAutomated release watch

Anthropic Python SDK v2.10.0

Anthropic Python SDK v2.10.0 adds new billing-related error codes, beta billing policy parameters, external key webhook events, and fixes aiohttp timeout reporting.

Human read

Why this signal matters

Anthropic released version 2.10.0 of its Python SDK. The release includes beta support for a billing policy request parameter and several new API error codes covering contract spend limits reached, linked billing refusals, and unauthorized user profile billing. It introduces webhook events tracking external key failure and recovery. On the bug fix side, failed aiohttp connections will no longer be misreported as timeouts, and backwards compatibility is maintained for deprecated model aliases and nested types. Additionally, error data models have been renamed (with old names deprecated), and documentation has been updated regarding AWS KMS key compatibility, credential endpoints, plugin pin behaviors, and plugin scan error reasons.

Agent parse

Actionable summary

Anthropic Python SDK v2.10.0 introduces billing policy request parameters in beta, adds specific error codes for contract spend limits and billing refusals/authorizations, updates webhook events for external keys, corrects aiohttp connection failure reporting, and renames error data models.

Agent usefulness
94/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Review error handling logic to accommodate new billing-related error codes (spend limits, linked billing refusals, unauthorized profile billing).
  • Update code using deprecated error data model names to the new names.
  • Verify plugin scan inspection logic to ensure that 'scan.reason' on an errored scan is not mistakenly treated as a security finding without verifying 'status'.
Classification

Tags and routing

anthropicsdkpython
Related signals

Continue the thread