Error
A valid request URL is required to generate request examples{
"input_tokens": 123
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
}
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
}
}Anthropic Integration
Count tokens (Anthropic format)
Counts the number of tokens in a message request.
POST
/
anthropic
/
v1
/
messages
/
count_tokens
Error
A valid request URL is required to generate request examples{
"input_tokens": 123
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
}
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
}
}Authorizations
BearerAuthVirtualKeyAuthApiKeyAuth
Body
application/json
Was this page helpful?

