Avaliar risco ATO
curl --request POST \
--url https://api.truthlocks.com/v1/risk/ato/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"event_type": "<string>",
"subject_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_type: '<string>', subject_id: '<string>'})
};
fetch('https://api.truthlocks.com/v1/risk/ato/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload = {
"event_type": "<string>",
"subject_id": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload := strings.NewReader("{\n \"event_type\": \"<string>\",\n \"subject_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"risk_score": 123,
"decision": "<string>",
"signals": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Aquisição de Conta
Avaliar risco de ATO
Avalia um evento de login em relação a heurísticas de aquisição de conta. Rastreia a velocidade de logins falhos por assunto e dispara alertas quando os limites são excedidos.
POST
/
v1
/
risk
/
ato
/
evaluate
Avaliar risco ATO
curl --request POST \
--url https://api.truthlocks.com/v1/risk/ato/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"event_type": "<string>",
"subject_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({event_type: '<string>', subject_id: '<string>'})
};
fetch('https://api.truthlocks.com/v1/risk/ato/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload = {
"event_type": "<string>",
"subject_id": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/evaluate"
payload := strings.NewReader("{\n \"event_type\": \"<string>\",\n \"subject_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"risk_score": 123,
"decision": "<string>",
"signals": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Avalia um evento de login em relação ao motor heurístico ATO. A plataforma rastreia logins falhos por sujeito em uma janela contínua de uma hora e deriva um nível de risco da contagem atual. Quando um limite é ultrapassado, um alerta é criado e um sinal de risco é automaticamente ingerido no pipeline de sinal de risco.
Consulte o guia de detecção de aquisição de conta para o fluxo de trabalho completo, referência de limite e padrões de integração.
Regras de limite
| Logins falhos (janela de 1 h) | Nível de risco | Alerta automático |
|---|---|---|
| 0–4 | normal | Não |
| 5–9 | elevado | Sim — velocity_exceeded |
| 10–19 | alto | Sim — velocity_exceeded |
| 20+ | crítico | Sim — credential_stuffing |
Resposta
UUID do sinal de risco ingerido automaticamente (presente apenas quando um alerta foi disparado).
Corpo
application/json

