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

# Histórico Geral de Ferramentas

> Retorna o histórico de alterações de todas as ferramentas.

## Endpoint

`GET https://gateway.orkeia.ai/tools/history`

**Autenticação**\
Requer cabeçalho `authorization:  <seu_token>`.

## Exemplo (cURL)

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

## Respostas

### Response - Success

```json response theme={null}
{
  "status": "OK",
  "data": [
    {
      "id": "EVT_1",
      "toolId": "TOOL_123456",
      "action": "created",
      "timestamp": "2024-07-01T12:00:00Z"
    }
  ]
}
```

### 500 — Server Error

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

### 400 — Client Error

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

## Campos

| Campo     | Tipo   | Descrição                                   |
| --------- | ------ | ------------------------------------------- |
| id        | string | Identificador único do evento de histórico. |
| toolId    | string | ID da ferramenta relacionada ao evento.     |
| action    | string | Ação realizada (ex.: `created`, `updated`). |
| timestamp | string | Data/hora do evento em formato ISO 8601.    |
