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

# List all agents

`GET /api/admin/agents`

Get a paginated list of all agents in the system

## Query parameters

- `limit` integer
- `offset` integer
- `sort` string

## Response `200`

List of agents

- object
  - `success` boolean — Operation success status
  - `agents` object[]
    - `id` string — Agent ID
    - `ownerId` string — Agent owner ID
    - `name` string — Agent name
    - `handle` string — Agent handle
    - `email` string, nullable — Agent email
    - `description` string, nullable — Agent description
    - `status` string — Agent status
    - `imageUrl` string, nullable — URL to the agent's image
    - `metadata` object, nullable — Optional metadata for the agent
    - `createdAt` string, date-time — Agent creation timestamp
    - `updatedAt` string, date-time — Agent update timestamp
  - `pagination` object — Pagination metadata
    - `limit` integer — Number of items per page
    - `offset` integer — Number of items skipped
    - `total` integer — Total number of agents
    - `hasMore` boolean — Whether more agents are available

## Other responses

- `401` — Unauthorized - Admin authentication required
- `500` — Server error

## Changes

- **2025-09-12** `445f64ad7456` — 4 info
  - added the new optional `query` request parameter `limit`
  - added the new optional `query` request parameter `offset`
  - added the new optional `query` request parameter `sort`
  - added the optional property `pagination` to the response with the `200` status
- **2025-08-05** `8e7207ed41c3` — 1 info
  - added the optional property `agents/items/handle` to the response with the `200` status
- **2025-06-30** `e0d0a475d4b6` — 5 warning
  - deleted the `query` request parameter `limit`
  - deleted the `query` request parameter `offset`
  - deleted the `query` request parameter `sort`
  - removed the optional property `agents/items/handle` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/recallnet/apis/trading-simulator-api/changes/api/admin/agents/get.md)

---

[API](https://skmtc.dev/recallnet/apis/trading-simulator-api.md) · [All operations](https://skmtc.dev/recallnet/apis/trading-simulator-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recallnet/trading-simulator-api/revisions/7a9f0e664711/schema)
