Legacy & Deprecated
These endpoints are maintained for backward compatibility with existing codebases. For all new integrations, please use /v1/chat/completions or /v1/responses.
POST/v1/completions
Completions (legacy)
Creates a completion for the provided prompt and parameters.
cURL Requestbash
curl https://api.plannix.web.id/v1/completions \
-H "Authorization: Bearer ${PLANNIX_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "plannix-3-ultra",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}'POST/v1/messages
Messages (Anthropic - deprecated)
Compatibility endpoint supporting Anthropic Claude client SDKs and payload schemas.
POST/v1/complete
Completions (Anthropic - deprecated)
Legacy Anthropic text format (\n\nHuman: ... \n\nAssistant:).