> ## 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.

# List Agents

> Returns the list of registered agents.

## Endpoint

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

## Headers

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

### Example (cURL)

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

## Responses

### Response - Success

```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 — Bad Request

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

### 400 — Client Error

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