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

# Obter Alertas da Investigação

> Obter todos os alertas vinculados a uma investigação — no fluxo de gestão de casos da gu1 para equipes de compliance, com exemplos para get alerts.

## Visão Geral

Recupera todos os alertas associados a uma investigação.

## Parâmetros de Rota

<ParamField path="id" type="string" required>
  ID da Investigação
</ParamField>

## Parâmetros de Consulta

<ParamField query="category" type="string">
  Filtrar por categoria de alerta
</ParamField>

<ParamField query="sortBy" type="string">
  Ordenar por: createdAt, severity, riskContribution
</ParamField>

## Resposta

```json theme={null}
{
  "investigation": {
    "id": "inv-123",
    "name": "Investigação AML"
  },
  "alerts": [
    {
      "id": "alert-456",
      "name": "Transação Suspeita",
      "severity": "HIGH",
      "riskContribution": 35,
      "consolidatedAt": "2024-12-23T10:00:00Z"
    }
  ],
  "summary": {
    "totalAlerts": 3,
    "categories": ["transaction_monitoring", "sanctions"],
    "highlightedAlerts": 1
  }
}
```

## Exemplo

```bash theme={null}
curl -X GET http://api.gu1.ai/intelligence/investigations/inv-123/alerts \
  -H "Authorization: Bearer YOUR_API_KEY"
```
