> ## Documentation Index
> Fetch the complete documentation index at: https://docs.10et.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Eval API

> Eval scores and trajectories

## GET /api/eval/trajectory

Get eval score history for an agent.

```bash theme={null}
curl "http://localhost:4360/api/eval/trajectory?agent=test-coverage&metric=composite" \
  -H "Authorization: Bearer $TOKEN"
```

### Query Parameters

| Param    | Description                      |
| -------- | -------------------------------- |
| `agent`  | Agent name (required)            |
| `metric` | Metric name (default: composite) |

### Response

```json theme={null}
{
  "agent": "test-coverage",
  "metric": "composite",
  "trajectory": [
    {"ts": "2026-03-22T21:30:00Z", "value": 0.1276},
    {"ts": "2026-03-22T21:35:00Z", "value": 0.1307},
    {"ts": "2026-03-22T21:40:00Z", "value": 0.1342}
  ]
}
```
