---
title: "Get Agent Analytics"
method: GET
path: "/api/v1/agent/analytics"
tags: ["Campaign Agent"]
---

# Get Agent Analytics

`GET /api/v1/agent/analytics`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/agent/analytics`
- Auth: HTTP bearer

Totals across the agent's decisions.

## Query parameters

- `agent_id` integer, nullable

## Response `200`

Successful Response

- AgentAnalyticsResponse
  - `actions_by_type` object, required
  - `success_rate` number, required
  - `total_budget_increased` number, required
  - `total_budget_decreased` number, required
  - `decisions_today` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
