---
title: "Get Agent Stats"
method: GET
path: "/v1/agents/{agent_id}/stats"
tags: ["Agents"]
---

# Get Agent Stats

`GET /v1/agents/{agent_id}/stats`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/v1/agents/{agent_id}/stats`
- Auth: HTTP bearer

Get real-time statistics for an agent.

Returns usage metrics like total calls, average duration, tokens used, and costs.

## Path parameters

- `agent_id` string, required

## Query parameters

- `days` integer

## Response `200`

Successful Response

- AgentStats: Real-time statistics for an agent.
  - `total_calls` integer, required
  - `total_duration_seconds` number, required
  - `avg_duration_seconds` number, required
  - `total_tokens` integer, required
  - `avg_tokens_per_call` integer, required
  - `total_cost_usd` number, required
  - `avg_cost_per_call` number, required
  - `last_call_at` string, nullable

## Other responses

- `422`: Validation Error

---

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