---
title: "Read Agents"
method: GET
path: "/api/v1/agents"
tags: ["agents"]
---

# Read Agents

`GET /api/v1/agents`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/agents`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Retrieve agents for current user's account.

Args:
    sort_by: Field to sort by (updated_at, created_at, name). Default: updated_at
    sort_order: Sort order (asc, desc). Default: desc

## Query parameters

- `sort_by` string
- `sort_order` string
- `skip` integer: Number of items to skip
- `limit` integer: Maximum items to return

## Response `200`

Successful Response

- PaginatedResponseAgent
  - `data` Agent[], required
  - `pagination` PaginationMeta, required
    - `total` integer, required
    - `skip` integer, required
    - `limit` integer, required
    - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

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