Skip to main content
POST
/
api
/
agents
/
llm-eval-metrics
/
batch
cURL
curl --request POST \
  --url https://app.cotool.ai/api/agents/llm-eval-metrics/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agentIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
[
  {
    "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "avgScore7d": 123,
    "avgScore30d": 123,
    "totalEvals7d": 123,
    "totalEvals30d": 123
  }
]

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Body

application/json
agentIds
string<uuid>[]
required

Array of agent IDs

Response

200 - application/json

Successful response

agentId
string<uuid>
required
avgScore7d
number | null
required
avgScore30d
number | null
required
totalEvals7d
integer
required
totalEvals30d
integer
required