Anomalie melden
curl --request POST \
--url https://api.truthlocks.com/v1/agents/{agentId}/anomalies \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"anomaly_type": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({anomaly_type: '<string>'})
};
fetch('https://api.truthlocks.com/v1/agents/{agentId}/anomalies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/agents/{agentId}/anomalies"
payload = { "anomaly_type": "<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/agents/{agentId}/anomalies"
payload := strings.NewReader("{\n \"anomaly_type\": \"<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))
}{
"anomaly_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"anomaly_type": "<string>",
"severity": "low",
"details": {},
"status": "open",
"resolution": "<string>",
"resolved_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Compliance & Anomalien
Anomalie melden
Eine in der Aktivität eines KI-Agenten erkannte Verhaltensanomalie melden.
POST
/
v1
/
agents
/
{agentId}
/
anomalies
Anomalie melden
curl --request POST \
--url https://api.truthlocks.com/v1/agents/{agentId}/anomalies \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"anomaly_type": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({anomaly_type: '<string>'})
};
fetch('https://api.truthlocks.com/v1/agents/{agentId}/anomalies', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/agents/{agentId}/anomalies"
payload = { "anomaly_type": "<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/agents/{agentId}/anomalies"
payload := strings.NewReader("{\n \"anomaly_type\": \"<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))
}{
"anomaly_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"anomaly_type": "<string>",
"severity": "low",
"details": {},
"status": "open",
"resolution": "<string>",
"resolved_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resolved_at": "2023-11-07T05:31:56Z"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Meldet eine in der Aktivität eines KI-Agenten erkannte Verhaltensanomalie. Anomalien sind markierte Beobachtungen, die darauf hindeuten, dass ein Agent möglicherweise außerhalb seines erwarteten Verhaltensbereichs agiert – wie plötzliche Ratenanstiege, Bereichsverletzungen, Vertrauenspunktabfälle oder geografische Zugriffsanomalien.
Anomalieberichte erstellen umsetzbare Warnungen für Sicherheitsteams und können je nach Schweregrad und Mandantenkonfiguration automatisierte Reaktionsrichtlinien (z. B. Drosselung, Sitzungswiderruf oder Agenten-Sperrung) auslösen.
Anomalie-Typen
| Typ | Beschreibung |
|---|---|
rate_spike | Die Anfragerate des Agenten übersteigt die historische Basislinie erheblich |
scope_violation | Agent hat versucht, auf eine Ressource außerhalb seiner gewährten Bereiche zuzugreifen |
trust_drop | Der berechnete Vertrauenswert des Agenten unterschritt den Schwellenwert |
pattern_deviation | Das Verhaltensmuster des Agenten weicht von seiner trainierten Basislinie ab |
geographic_anomaly | Agent von einem unerwarteten geografischen Standort oder IP-Bereich aus aufgerufen |
Schweregrade
| Schweregrad | SLA | Automatische Antwort |
|---|---|---|
low | 24h Überprüfung | Nur protokolliert |
medium | 4h Überprüfung | Agent gedrosselt |
high | 1h Überprüfung | Sitzungen ausgesetzt |
critical | 15min Überprüfung | Agent widerrufen, Untersuchung ausstehend |
Antwort
Automatische Antwortaktion (falls vorhanden), basierend auf Schweregrad und Mandantenrichtlinie.
Autorisierungen
Body
application/json
Antwort
Anomalie gemeldet

