Anthropic token counting
Not metered.
post/v1/messages/count_tokens
Request
- Base URLhttps://api.agentlab.cresclab.com
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
object required
Response
Token count.
Changes
No recorded changes to this operation across all 1 revision of this API.