---
title: "How many times each test ran for the agent, how many passed, and how the latest run went"
method: GET
path: "/v3/proving/agents/{agent_id}/scenario-stats"
tags: ["v3", "proving"]
---

# How many times each test ran for the agent, how many passed, and how the latest run went

`GET /v3/proving/agents/{agent_id}/scenario-stats`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/proving/agents/{agent_id}/scenario-stats`
- Auth: HTTP bearer

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `mentium-workspace-id` string, nullable

## Response `200`

Successful Response

- ProvingScenarioStatsResponse
  - `items` ProvingScenarioStats[]
    - `scenario_id` string, required
    - `runs` integer, required: Runs that finished, passed, failed or could not run
    - `passed` integer, required: Runs whose test passed
    - `last_run_at` string, date-time, nullable
    - `last_outcome` string, nullable: passed, failed or could_not_run, for the latest finished run

## Other responses

- `422`: Validation Error

---

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