Changes to Count tokens in a Message
POST /v1/messages/count_tokens
Every recorded change to this endpoint, newest first. Back to the operation
Changed in 22 of the 68 revisions of this API.123142
- d1d189d791d121
- 67ee007cda1c26
- e9d8152420c311
- 6e9020ec2b4127
- 538e9bd0db771
- a97790bd7f1811
- 7caa9a75ddbc1
- 4465f98f96c11
- 9445a445fbbe1
- 063bcb9d6cf9117
- 00259327305f11
- 546c704d347b12
- f9d488f9290d5
- a4186730f56c1
- 6edc6519fd321
- e0696f59ae0712
- 69486316563e11
- 7fce94a3c9f714
- 29a6b7ba51941
- 5387c517ad6a15
- 6924f88807cb1
- 53a0f3638030135
What changed
- ●
removed the request property
///request-property-removed
- ●
removed the request property
///request-property-removed
- ○
added
subschema #2subschema #3to therequest propertyanyOflistrequest-property-any-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
///////////////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
////////////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the new optional request property
////////////////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added
browser_statediscriminator mapping keys to the////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the/////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the///////////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the////////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the//////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the//////////request propertyrequest-property-discriminator-mapping-added
- ○
added
filediscriminator mapping keys to the////////////////request propertyrequest-property-discriminator-mapping-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
added to the
/////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
///////////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
////////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
////////////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
////////request propertyoneOflistrequest-property-one-of-added
- ○
- ▲
removed from the
////request propertyoneOflistrequest-property-one-of-removed
- ○
removed
mid_conv_systemdiscriminator mapping keys from the////request propertyrequest-property-discriminator-mapping-deleted
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the
////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
//////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
//////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
//////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
///////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
/////////////////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
the
////////request property's maxLength was increased from255to500request-property-max-length-increased
- ○
- ▲
removed
subschema #17subschema #18from therequest propertyanyOflistrequest-property-any-of-removed
- ▲
- ▲
removed
subschema #5subschema #6subschema #8subschema #12subschema #13subschema #16subschema #17from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #5subschema #6subschema #7subschema #9subschema #13subschema #14subschema #17subschema #18to therequest propertyanyOflistrequest-property-any-of-added
- ▲
- ○
added
subschema #2to therequest propertyanyOflistrequest-property-any-of-added
- ○
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
- ○
added the new optional
headerrequest parameteranthropic-user-profile-idnew-optional-request-parameter
- ○
- ▲
removed
subschema #17subschema #18subschema #19subschema #20subschema #21from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260521enum value to the request property////request-property-enum-value-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed
subschema #4from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #2subschema #3subschema #6to therequest propertyanyOflistrequest-property-any-of-added
- ▲
- ▲
removed
subschema #13subschema #14from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added the new optional request property
////////new-optional-request-property
- ○
added
subschema #13subschema #14to therequest propertyanyOflistrequest-property-any-of-added
- ▲
- ○
added
subschema #2to therequest propertyanyOflistrequest-property-any-of-added
- ○
added
mid_conv_systemdiscriminator mapping keys to the////request propertyrequest-property-discriminator-mapping-added
- ○
added the new
systemenum value to the request property//request-property-enum-value-added
- ○
added the new
url_not_in_prior_contextenum value to the request property////////request-property-enum-value-added
- ○
added to the
////request propertyoneOflistrequest-property-one-of-added
- ○
- ▲
the
/////request property type changed fromunknownto no typerequest-property-type-changed
This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
/////request property type changed from no type tounknownrequest-property-type-changed
- ▲
- ▲
removed
subschema #13subschema #14subschema #15subschema #16from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #2subschema #14subschema #15subschema #16subschema #17to therequest propertyanyOflistrequest-property-any-of-added
- ○
added the new
xhighenum value to the request property//request-property-enum-value-added
- ▲
- ▲
removed
subschema #2from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added
subschema #2subschema #3to therequest propertyanyOflistrequest-property-any-of-added
- ▲
- ▲
removed
subschema #3subschema #6subschema #7subschema #8subschema #9subschema #10subschema #11subschema #14subschema #15subschema #16subschema #17subschema #18subschema #19subschema #20subschema #21subschema #22subschema #23from therequest propertyanyOflistrequest-property-any-of-removed
- ○
added the new optional request property
//new-optional-request-property
- ○
added the new optional request property
//new-optional-request-property
- ○
added
subschema #3subschema #4subschema #5subschema #8subschema #9subschema #10subschema #11subschema #12subschema #13subschema #16to therequest propertyanyOflistrequest-property-any-of-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ▲
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
added the new
code_execution_20260120enum value to the request property////request-property-enum-value-added
- ○
- ●
removed the request property
request-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
request property
//////was restricted to a list of enum valuesrequest-property-became-enum
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
//////new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added
subschema #3to therequest propertyanyOflistrequest-property-any-of-added
- ○
the
request property const valueweb_searchwas removedrequest-property-const-removed
- ○
added
bash_code_execution_tool_resultcode_execution_tool_resultcontainer_uploadtext_editor_code_execution_tool_resulttool_search_tool_resultweb_fetch_tool_resultdiscriminator mapping keys to the////request propertyrequest-property-discriminator-mapping-added
- ○
added
tool_referencediscriminator mapping keys to the////////request propertyrequest-property-discriminator-mapping-added
- ○
added the new
bash_code_executionenum value to the request property//////request-property-enum-value-added
- ○
added the new
code_executionenum value to the request property//////request-property-enum-value-added
- ○
added the new
text_editor_code_executionenum value to the request property//////request-property-enum-value-added
- ○
added the new
tool_search_tool_bm25enum value to the request property//////request-property-enum-value-added
- ○
added the new
tool_search_tool_regexenum value to the request property//////request-property-enum-value-added
- ○
added the new
web_fetchenum value to the request property//////request-property-enum-value-added
- ○
added the new
web_searchenum value to the request property//////request-property-enum-value-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
added to the
////////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
////request propertyoneOflistrequest-property-one-of-added
- ▲