Skip to Content

Alerts

Alerts are events GPTfake raises when a monitored model’s behavior changes materially — a policy shift or a censorship spike. Use the alerts endpoints to list recent events and configure thresholds. To receive alerts in real time instead of polling, subscribe via Webhooks.

List alerts

GET /alerts

Query parameters:

ParamValuesDefault
modelany monitored model idall
typepolicy_change, censorship_spikeall
sinceISO 8601 datelast 30 days
curl "https://api.gptfake.com/v1/alerts?model=chatgpt&type=censorship_spike" \ -H "Authorization: Bearer YOUR_API_KEY"

Response:

{ "alerts": [ { "id": "alrt_8f21", "model": "chatgpt", "type": "censorship_spike", "category": "political", "delta": "+5.8pp", "detected_at": "2024-11-24T06:00:00Z", "methodology": "https://gptfake.com/monitoring/methodology" } ] }

Alert types

typeTriggered when
policy_changeA model’s stated content policy or observed rules change
censorship_spikeA refusal rate rises sharply versus its recent baseline

Each alert links to the methodology used to detect it and to the model’s metrics so you can verify the change. Detected changes are also summarized on the reports feed.

Get a single alert

GET /alerts/{alert_id}
curl https://api.gptfake.com/v1/alerts/alrt_8f21 \ -H "Authorization: Bearer YOUR_API_KEY"

Next steps