Anthropic Python SDK v1.4.0
Anthropic Python SDK v1.4.0 introduces usage report breakdowns by Claude Tag and user, adds named types for compliance settings, expands workspace ID support, and improves client error handling for incompatible HTTP client objects.
Why this signal matters
Anthropic Python SDK release v1.4.0 adds several API features and client-side fixes: - Features: Added Claude Tag category and user breakdowns to usage reports; added named types representing organization compliance settings states; enabled sending workspace IDs across more API endpoints. - Bug Fixes: Configured the client to raise a clear error message when an httpx object is provided instead of an httpx2 object; fixed a custom-code merge issue affecting messages resources ( 580). - Chores & Docs: Refreshed platform model IDs in examples, bundled mock server specs, updated dev tooling and code comments, and updated various API docstrings.
Actionable summary
Anthropic Python SDK updated to v1.4.0. Key updates include API support for Claude Tag category and user breakdowns in usage reports, named types for organization compliance settings, workspace ID parameter availability on additional endpoints, and explicit error raising when standard httpx objects are passed instead of httpx2.
- Agent usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Verify that custom HTTP clients passed to the SDK instantiate httpx2 objects instead of standard httpx objects to avoid new explicit client errors.
- Optionally integrate the new Claude Tag and user breakdown fields into usage reporting pipelines.
- Adopt newly introduced named types for organization compliance settings state where applicable.