---
title: "Get Agent Insights"
method: GET
path: "/api/admin/agent-insights"
tags: ["admin"]
---

# Get Agent Insights

`GET /api/admin/agent-insights`

## Request

- Base URL: `https://api.stremai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stremai.com/api/admin/agent-insights`
- Auth: none declared

Aggregate stats across all agent traces.

## Response `200`

Successful Response

- AgentInsightsResponse
  - `total_traces` integer, required
  - `completed_count` integer, required
  - `failed_count` integer, required
  - `avg_steps` number, required
  - `avg_eval_score` number, nullable, required
  - `avg_latency_ms` number, required
  - `avg_cost_usd` number, required
  - `failure_step_distribution` object, required

---

[API](https://skmtc.dev/stremai/apis/strem-ai.md) · [All operations](https://skmtc.dev/stremai/apis/strem-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/stremai/apis/strem-ai/revisions/160e5f136d48?raw)
