Count tokens in a Message changedapi/beta/messages/count_tokens
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−1removed
From line
119
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits34to this page, all time
The whole hunk
from line 119, old and new numbered
/
from line 119
119119
120120 - `"experimental-claude-tag-2026-10-21"`
121121
122 - `"ce-claude-code-managed-settings-2026-10-06"`
123
122124 - `"user-profiles-billing-2026-10-01"`
123125
124126 - `"message-batches-2024-09-24"`
from line 856
854856
855857 - `page_age: optional string or null`
856858
857 - `BetaWebSearchToolRequestError object`
859 - `BetaWebSearchToolRequestErrorObject object`
858860
859861 - `type: "web_search_tool_result_error"`
860862
No line in this hunk matches that.