Count tokens in a Message changedapi/beta/messages/count_tokens
Nearest release: v2.1.300, published 6 hours 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+2added
Lines−0removed
From line
127
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 127, old and new numbered
/
from line 127
127127
128128 - `"spend-limit-reads-2026-09-26"`
129129
130 - `"telemetry-destinations-2026-08-11"`
131
130132- `"anthropic-user-profile-id": optional string`
131133
132134 The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header.
No line in this hunk matches that.