---
title: "List agents"
method: GET
path: "/api/1/agent/agents"
tags: ["Agents"]
---

# List agents

`GET /api/1/agent/agents`

## Request

- Base URL: `https://{your-bynder-domain}`
- URL: `https://{your-bynder-domain}/api/1/agent/agents`
- Auth: HTTP bearer

Lists agents definitions using UUID-cursor pagination. `start` (forward, exclusive of the cursor row) and `before` (backward, inclusive) are mutually exclusive — sending both is a `400` with `{"pagination": "only one of 'before' or 'start' is allowed, not both"}`.

## Query parameters

- `start` string, uuid
- `before` string, uuid
- `limit` integer
- `sort` string
- `searchTerm` string
- `capabilities` string[]
- `statuses` string[]
- `autoApply` boolean[]
- `agentIds` string[]

## Response `200`

Cursor-paginated list of agents.

- CursorPaginatedAgents: A page of agents. `metadata.nextPage` and `metadata.prevPage` are query strings to add to the same request URL, or `null` when there is no such page.
  - `items` Agent[]
    - `id` string, uuid
    - `name` string
    - `description` string
    - `prompt` Prompt: An agent prompt.
      - `id` string, uuid
      - `text` string
      - `version` integer
      - `isActive` boolean
      - `createdAt` string, date-time
      - `modifiedAt` string, date-time
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time
    - `accountId` string, uuid
    - `status` 'ACTIVE' | 'INACTIVE' | 'DRAFT'
    - `autoApply` boolean
    - `autoApplyUserId` string, uuid, nullable
    - `agents` string[]: The capabilities of the agent.
    - `agentProperties` object
    - `createdBy` string, uuid
  - `metadata` object
    - `prevPage` string, nullable
    - `nextPage` string, nullable

## Other responses

- `400`: The request body failed validation
- `401`: Missing or invalid bearer token
- `403`: Caller lacks the required permission for this operation
- `429`: Caller exceeded its configured request rate
- `5XX`: Gateway or a downstream service failed to process the request

---

[API](https://skmtc.dev/bynder/apis/ai-agents.md) - [All operations](https://skmtc.dev/bynder/apis/ai-agents/llms.txt) - [OpenAPI document](https://skmtc.dev/bynder/apis/ai-agents/revisions/60a586064d6f?raw)
