---
title: "Agent stats"
method: GET
path: "/agents/{asset_id}/stats"
tags: ["agents"]
---

# Agent stats

`GET /agents/{asset_id}/stats`

## Path parameters

- `asset_id` string, required

## Query parameters

- `period` string

## Response `200`

OK

- Stats
  - `median_latency_ms` integer
  - `p95_latency_ms` integer
  - `run_count` integer
  - `success_rate` number
  - `tokens_in` integer
  - `tokens_out` integer

## Changes

- **2026-05-09** `84f7a3a00f29` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/agents/:asset_id/stats/get.md)

---

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