---
title: "List agents."
method: GET
path: "/v1/agents"
tags: ["agents"]
---

# List agents.

`GET /v1/agents`

## Request

- Base URL: `https://api.smolmachines.com`
- URL: `https://api.smolmachines.com/v1/agents`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/smolmachines/apis/smolfleet-api/docs/v1/agents/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the agents in the caller's account. Requires the `machine:read` scope.

## Query parameters

- `after` string
- `limit` integer

## Response `200`

Paginated agent session summaries

- AgentListPage
  - `items` AgentSummary[], required
    - `createdAt` string, required
    - `error` string, nullable
    - `harness` string, required
    - `machineId` string, nullable
    - `model` string, nullable
    - `name` string, required
    - `runningTurn` integer, nullable
    - `status` string, required
  - `nextCursor` string, nullable

## Other responses

- `401`: Missing or invalid API key
- `403`: Key lacks the required scope
- `429`: Rate limited; retry after the Retry-After header
- `500`: Internal error

## Changes

- **2026-10-16** `bc31fc04a568`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smolmachines/apis/smolfleet-api/changes/v1/agents/get.md)

---

[API](https://skmtc.dev/smolmachines/apis/smolfleet-api.md) - [All operations](https://skmtc.dev/smolmachines/apis/smolfleet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smolmachines/apis/smolfleet-api/revisions/bc31fc04a568?raw)
