Skip to main content
GET
http://api.gu1.ai
/
risk-matrices
Listar Matrizes de Risco
curl --request GET \
  --url http://api.gu1.ai/risk-matrices \
  --header 'Authorization: Bearer <token>'

Visão Geral

Recupera todas as matrizes de risco da organização, excluindo matrizes arquivadas.

Endpoint

GET http://api.gu1.ai/risk-matrices

Resposta

{
  "riskMatrices": [
    {
      "id": "rm-123",
      "name": "Matriz de Risco AML",
      "description": "Avaliação de risco de lavagem de dinheiro",
      "category": "aml",
      "status": "active",
      "version": 1,
      "scoringConfig": {
        "minScore": 0,
        "maxScore": 100,
        "thresholds": {
          "low": 30,
          "medium": 60,
          "high": 80
        }
      },
      "triggers": [
        {
          "name": "Alerta de Alto Risco",
          "description": "Acionar quando a pontuação exceder 80",
          "condition": {
            "field": "riskScore",
            "operator": "gt",
            "value": 80
          },
          "action": "create_investigation",
          "priority": "CRITICAL"
        }
      ],
      "tags": ["aml", "compliance"],
      "ruleCount": 15,
      "activeRuleCount": 12,
      "createdAt": "2024-01-15T10:00:00Z"
    }
  ],
  "total": 1
}

Exemplo

curl -X GET http://api.gu1.ai/risk-matrices \
  -H "Authorization: Bearer YOUR_API_KEY"