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

# Get Agent Status

`GET /api/v1/agent/status`

## 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/status`
- Auth: HTTP bearer

Whether the agent is on, when it last ran, and when it runs next.

## Query parameters

- `agent_id` integer, nullable

## Response `200`

Successful Response

- AgentStatusResponse
  - `is_running` boolean, required
  - `is_enabled` boolean, required
  - `last_cycle_at` string, date-time, nullable
  - `next_run_at` string, date-time, nullable
  - `total_cycles` integer, required
  - `total_actions` 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)
