---
title: "List the agents"
method: GET
path: "/agents"
tags: ["Agents"]
---

# List the agents

`GET /agents`

## Request

- Base URL: `https://api.hypamoon.com/api/v1`
- URL: `https://api.hypamoon.com/api/v1/agents`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://app.hypamoon.com/oauth/authorize`, token URL `https://api.hypamoon.com/oauth/token`, scopes: `project:read`)

The agents of the project, newest first, each with pending_approvals: the actions waiting for the owner.

## Response `200`

The agents.

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `instructions` string, required
    - `trigger` object, required
    - `actions` object, required
    - `limits` object, required
      - `runs_per_day` integer, required
      - `actions_per_run` integer, required
    - `status` 'active' | 'paused', required
    - `mode` 'live' | 'test', required
    - `next_run_at` string, nullable, required
    - `pending_approvals` integer, required
    - `created_by` string, nullable, required: The key (key:<id>) or connected app (oauth:<id>) that created the agent.
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `401`: Unauthorized: unauthorized, missing_api_key, invalid_api_key, api_key_revoked, project_deleted.
- `403`: Forbidden: project_not_enabled, key_mode_mismatch, missing_scope, verification_required.
- `404`: Not Found: not_found.
- `429`: Too Many Requests: rate_limited.
- `500`: Internal Server Error: internal_error.
- `503`: Service Unavailable: service_unavailable.

---

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