
LLM Correctness Testing API
Detect LLM quality issues with simple API
Compatible with all LLM providers



Correctness Testing API
Get started in 3 simple steps
- 1
Sign up for Punya account
- 2
Create LLM App Analytics and grab your API key
- 3
Call Correctness Testing API and get the result
curl --location 'https://api.punya.ai/v1/correctness/test' --header 'Content-Type: application/json' --header 'Authorization: Bearer <YOUR_API_KEY>' --data '{ "user_message": "What type of mammal lays the biggest eggs?", "bot_response": "Ostrich lays the biggest eggs"}'
curl --location 'https://api.punya.ai/v1/correctness/test' --header 'Content-Type: application/json' --header 'Authorization: Bearer <YOUR_API_KEY>' --data '{ "user_message": "What type of mammal lays the biggest eggs?", "bot_response": "Ostrich lays the biggest eggs"}'