---
title: "Get LLM evaluation metrics for multiple agents"
method: POST
path: "/api/agents/llm-eval-metrics/batch"
tags: ["Agent Runs"]
---

# Get LLM evaluation metrics for multiple agents

`POST /api/agents/llm-eval-metrics/batch`

## Request

- Base URL: `https://app.cotool.ai`
- URL: `https://app.cotool.ai/api/agents/llm-eval-metrics/batch`
- Auth: HTTP bearer

Retrieve system LLM evaluation metrics (llm-judge) for multiple agents in batch.

## Request body

- object
  - `agentIds` string[], required: Array of agent IDs

## Response `200`

Successful response

- object[]
  - `agentId` string, uuid, required
  - `avgScore7d` number, nullable, required
  - `avgScore30d` number, nullable, required
  - `totalEvals7d` integer, required
  - `totalEvals30d` integer, required

## Other responses

- `400`: Bad request — input validation failed or the request was malformed
- `401`: Unauthorized — missing or invalid API key / session
- `403`: Forbidden — the authenticated user lacks the required permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/cotool/apis/cotool-api.md) - [All operations](https://skmtc.dev/cotool/apis/cotool-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cotool/apis/cotool-api/revisions/f5abe0add203?raw)
