/api/v1/privacy/incidents/{id}/notifyRecord that the supervisory authority has been notified (GDPR Art. 33/34)
Stamps `authority_notified_at` (clears the 72h SLA flag), sets `authority_jurisdiction`, appends the jurisdiction to `reported_to[]`, optionally records `data_subjects_notified_at` (Art. 34), and auto-advances a `draft`/`open` incident to `notified` (a `resolved` incident is never downgraded). Admin role required; the call is audit-logged with `action=update` and `resourceType=ai_incident_report_notify`. Idempotent: re-calling with the same `authority_jurisdiction` and `notification_reference` returns the existing row with `idempotent:true` — note this requires a `notification_reference` on one side, so repeat calls that supply none are NOT collapsed. Rate-limited 20/min.
Authentication
Send Authorization: Bearer YOUR_API_KEY on every request. Generate API keys at /dashboard/settings/api-keys.
Parameters
id in pathrequiredstringRequest body required
Example
{
"authority_jurisdiction": "string",
"notification_reference": "string",
"authority_notified_at": "2026-01-01T00:00:00.000Z",
"data_subjects_notified_at": "2026-01-01T00:00:00.000Z"
}Schema
{
"application/json": {
"schema": {
"type": "object",
"required": [
"authority_jurisdiction"
],
"properties": {
"authority_jurisdiction": {
"type": "string",
"maxLength": 200
},
"notification_reference": {
"type": "string",
"maxLength": 200
},
"authority_notified_at": {
"type": "string",
"format": "date-time"
},
"data_subjects_notified_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}Response
All status codes
Code samples
cURL
# {id} is shown with an EXAMPLE value — replace it with real values.
curl -X POST \
https://evalguard.ai/api/v1/privacy/incidents/00000000-0000-0000-0000-000000000000/notify \
-H "Authorization: Bearer $EVALGUARD_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "authority_jurisdiction": "string", "notification_reference": "string", "authority_notified_at": "2026-01-01T00:00:00.000Z", "data_subjects_notified_at": "2026-01-01T00:00:00.000Z" }'TypeScript
// The TypeScript SDK (@evalguard/sdk) exposes TYPED methods — runEval,
// getEval, runSecurityScan, checkFirewall, … — not a generic request().
// For an arbitrary endpoint, call it directly:
// {id} is shown with an EXAMPLE value — replace it with real values.
const res = await fetch("https://evalguard.ai/api/v1/privacy/incidents/00000000-0000-0000-0000-000000000000/notify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.EVALGUARD_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"authority_jurisdiction": "string",
"notification_reference": "string",
"authority_notified_at": "2026-01-01T00:00:00.000Z",
"data_subjects_notified_at": "2026-01-01T00:00:00.000Z"
}),
});
console.log(res.status, await res.json());Python
# The Python SDK (pip install evalguardai) exposes TYPED methods on
# EvalGuardClient — run_eval, get_eval, … — not a generic request().
# For an arbitrary endpoint, call it directly:
# {id} is shown with an EXAMPLE value — replace it with real values.
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['EVALGUARD_API_KEY']}"}
headers["Content-Type"] = "application/json"
response = requests.request(
"POST",
"https://evalguard.ai/api/v1/privacy/incidents/00000000-0000-0000-0000-000000000000/notify",
headers=headers,
json={
"authority_jurisdiction": "string",
"notification_reference": "string",
"authority_notified_at": "2026-01-01T00:00:00.000Z",
"data_subjects_notified_at": "2026-01-01T00:00:00.000Z"
},
)
print(response.status_code, response.json())Go
package main
import (
"context"
"fmt"
"net/http"
"os"
"strings"
)
// {id} is shown with an EXAMPLE value — replace it with real values.
func main() {
body := strings.NewReader(`{"authority_jurisdiction":"string","notification_reference":"string","authority_notified_at":"2026-01-01T00:00:00.000Z","data_subjects_notified_at":"2026-01-01T00:00:00.000Z"}`)
req, _ := http.NewRequestWithContext(context.Background(), "POST", "https://evalguard.ai/api/v1/privacy/incidents/00000000-0000-0000-0000-000000000000/notify", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("EVALGUARD_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
fmt.Println(resp.Status)
}