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

# List Agents

`GET /agents`

List all registered agents, optionally filtered by query parameters.

## Query parameters

- `task_id` string, nullable — Task ID
- `limit` integer — Limit
- `page_number` integer — Page number
- `order_by` string, nullable — Field to order by
- `order_direction` string — Order direction (asc or desc)

## Response `200`

Successful Response

- Agent[]
  - `id` string, required — The unique identifier of the agent.
  - `name` string, required — The unique name of the agent.
  - `description` string, required — The description of the action.
  - `status` 'Ready' | 'Failed' | 'Unknown' | 'Deleted' | 'Unhealthy' | 'BuildOnly'
  - `acp_type` 'sync' | 'async' | 'agentic', required
  - `status_reason` string, nullable — The reason for the status of the action.
  - `created_at` string, date-time, required — The timestamp when the agent was created
  - `updated_at` string, date-time, required — The timestamp when the agent was last updated
  - `registration_metadata` object, nullable — The metadata for the agent's registration.
  - `registered_at` string, date-time, nullable — The timestamp when the agent was last registered
  - `agent_input_type` 'text' | 'json'
  - `production_deployment_id` string, nullable — ID of the current production deployment.

## Other responses

- `422` — Validation Error

## Changes

> 55 revisions in range; 4 could not be searched.

- **2026-06-02** `6ddcd81c830b` — 1 warning
  - added the new `BuildOnly` enum value to the `items/status` response property for the response status `200`

[Change history](https://skmtc.dev/scaleapi/apis/agentex-api/changes/agents/get.md)

---

[API](https://skmtc.dev/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.dev/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/revisions/1e0aaafd5780/schema)
