Changes to Count message tokens (Anthropic Messages API)

POST /v1/messages/count_tokens

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 3 of the 53 revisions of this API.5

  1. 496ff50bdfef2
  2. e31b805bf9ac2
  3. 4473702da82e1

What changed

    • added the optional property error/provider to the response with the 400 status

      response-optional-property-added

    • added the optional property error/provider to the response with the 401 status

      response-optional-property-added

    • added the new optional request property cache_control

      new-optional-request-property

    • added the new optional request property tools/items/cache_control

      new-optional-request-property

    • endpoint added

      endpoint-added