---
title: "Get evaluation metrics"
method: GET
path: "/agents/{agent_id}/evaluations/metrics"
tags: ["Evaluations"]
---

# Get evaluation metrics

`GET /agents/{agent_id}/evaluations/metrics`

Returns aggregated grade and tag counts for an agent's evaluations over a time window.
Useful for dashboards and reporting on agent quality trends.

## Path parameters

- `agent_id` string, required

## Query parameters

- `days` integer

## Response `200`

Aggregated evaluation metrics.

- object
  - `grades` object — Count of evaluations per grade.
    - `pass` integer
    - `needs_review` integer
    - `needs_attention` integer
  - `tags` object — Count of evaluations per applied tag.

## Other responses

- `401` — Unauthorized — missing or invalid credentials.
- `403` — Forbidden — insufficient permissions on this agent.

---

[API](https://skmtc.dev/gumloop/apis/public-api.md) · [All operations](https://skmtc.dev/gumloop/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gumloop/public-api/revisions/115f2d6ce387/schema)
