Account
Inspect your active credential metadata, verify endpoint permissions, and calculate exact token counts for input strings prior to submission.
GET/v1/api-key
API key
Returns details about the provided API key, including owner email, created timestamp, and authorized ACL scopes.
cURL Requestbash
curl https://api.plannix.web.id/v1/api-key \
-H "Authorization: Bearer ${PLANNIX_API_KEY}"POST/v1/tokenize
Tokenize text
Converts a text string into an array of token integers using the model's Byte-Pair Encoding (BPE) tokenizer and returns exact token counts.
cURL Requestbash
curl https://api.plannix.web.id/v1/tokenize \
-H "Authorization: Bearer ${PLANNIX_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "plannix-3.6-ultra",
"text": "Hello world from Plannix!"
}'