> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar Agentes

> Devuelve la lista de agentes registrados.

## Endpoint

`GET https://gateway.orkeia.ai/agents`

## Encabezados

```
authorization:  <tu_token>
Content-Type: application/json
```

### Ejemplo (cURL)

```bash theme={null}
curl -X GET "https://gateway.orkeia.ai/agents" \
  -H "authorization:  <tu_token>"
```

## Respuestas

### Response - Éxito

```json theme={null}
[
  {
    "id": "agent123",
    "name": "Agente IA",
    "enabled": true, ...
  },
    {
    "id": "agent356",
    "name": "Agente IA 3",
    "enabled": true, ...
  },
    {
    "id": "agent678",
    "name": "Agente IA 2",
    "enabled": false, ...
  }
]
```

### 500 — Solicitud Incorrecta

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Error del Cliente

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```
