Skip to main content
POST
Proxy Count Tokens

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Response

The provider's response

Anthropic's token count for a messages body.

input_tokens
integer
required