pypi anthropic 2.15.0
v2.15.0

one hour ago

Features

  • api: add api_key_requester_unconfirmed error code to the Admin API
  • api: add error codes for cost report size limits
  • api: add the user_profile_cleared error code to workspace updates

Bug Fixes

  • client: tighten argument checks in structured output helpers

  • credentials: refresh after a 401 even if a hook changes the Authorization header

    A 401 now also drops the cached token when max_retries=0, so the next call refreshes it.

  • credentials: stop processes sharing one login from refreshing each other's tokens in a loop

Chores

  • api: remove retired Claude Sonnet 4.5 models
  • docs: clarify which speed needs the fast mode beta header
  • docs: explain the compliance review policy category values

Don't miss a new anthropic release

NewReleases is sending notifications on new releases.