anthropic Anthropic Python SDK Releases · · 1.4.0

Anthropic Python SDK v1.4.0 Adds Usage Reporting Details and Compliance Settings

sdkaigaengineer
feature patch

Anthropic has released version 1.4.0 of its Python SDK, introducing several new capabilities for developers. This update enhances usage reports with Claude Tag categories and user breakdowns, providing more granular insights into API consumption. It also adds named types for organization compliance settings, improving clarity and management for enterprise users. Furthermore, the SDK now supports sending a workspace ID on additional endpoints, alongside fixes for client error handling and message resource merging.

  • add Claude Tag category and user breakdowns to usage reports
  • add named types for organization compliance settings state
  • add support for sending a workspace ID on more endpoints
  • raise a clear error when an httpx object is passed instead of an httpx2 one
  • repair custom-code merge in messages resources
Features (3)
  • api add Claude Tag category and user breakdowns to usage reports
  • api add named types for organization compliance settings state
  • api add support for sending a workspace ID on more endpoints
Fixes (2)
  • client raise a clear error when an httpx object is passed instead of an httpx2 one
  • repair custom-code merge in messages resources
Maintenance (9)
  • examples refresh platform model IDs
  • internal bundle the mock server spec and update dev tooling
  • internal clean up code comments
  • internal fix mypy unreachable error in detect-breaking-changes script
  • internal narrower codeowners scope
  • internal revert codeowners change
  • tests remove stale warning filters
  • tests reword the skip reason on the path-level query param tests
  • api update a few doc strings
Read the original announcement →

https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.4.0

Related releases