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

# Historial General de Agentes

> Devuelve el historial de cambios de todos los agentes.

## Endpoint

`GET `[https://gateway.orkeia.ai/agents/history\`](https://gateway.orkeia.ai/agents/history`)

## Cabeçalhos

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

### Ejemplo (cURL)

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

## Respuestas

### Respuesta - Éxito

```json theme={null}
[
  {
    "id": "evt1",
    "agentId": "agent123",
    "action": "created",
    "timestamp": "2024-07-01T12:00:00Z"
  },
    {
    "id": "evt2",
    "agentId": "agent134",
    "action": "created",
    "timestamp": "2024-07-01T12:00:00Z"
  }
]
```

### 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
}
```
