cURL
curl -X GET "https://app.cotool.ai/api/agents/:agentId/llm-eval-metrics" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorType": "<string>", "avgScore7d": 123, "avgScore30d": 123, "avgScoreAllTime": 123, "total7d": 123, "total30d": 123, "totalAllTime": 123, "series30d": [ { "date": "<string>", "avgScore": 123, "count": 123 } ], "byPrompt": [ { "systemPromptId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "status": "active", "avgScoreAllTime": 123, "totalAllTime": 123, "avgScore7d": 123, "total7d": 123, "avgScore30d": 123, "total30d": 123 } ] }
Retrieve system LLM evaluation metrics for an agent (default evaluator: llm-judge).
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
Agent ID
Evaluator type (default: llm-judge)
Successful response
Show child attributes
Was this page helpful?