Alerts API
Read your alert events
The events your alert rules produced, oldest first, with each channel's delivery, paged by cursor and kept 15 days.
GET https://data.vike.io/v1/alerts/eventsThe events your rules produced, oldest first, one row per rule and event, each with the delivery to each of its
channels; a rule with no channel fills this feed only. Pass next_cursor back as cursor to page forward; an empty
page returns the cursor it was given, so a poller keeps it and asks again. Events are kept 15 days. The answer, the
paging rules, the errors and every event shape are on Alert feed and webhooks. The same
as the MCP tool alerts_events.
cursorqueryoptionalPass back the previous
next_cursor verbatim. Empty reads from the oldest event still kept (15 days).limitqueryoptionalDefault 100, clamped to 1-500
rule_idqueryoptionalOnly the events of this alert rule
# the first page of one rule's events
curl -H "X-API-Key: $VIKE_API_KEY" \
"https://data.vike.io/v1/alerts/events?rule_id=77&limit=50"