---
title: "List all agents"
method: GET
path: "/api/agents"
tags: ["agents"]
---

# List all agents

`GET /api/agents`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/agents`
- Auth: none declared

Returns a list of all available agents

## Response `200`

List of agents

- object
  - `success` boolean
  - `data` object
    - `agents` AgentInfo[]
      - `id` string, uuid: Unique identifier for the agent
      - `name` string: Name of the agent
      - `status` 'active' | 'inactive': Current status of the agent

## Other responses

- `500`: Error retrieving agents

---

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