GET /incidents

Endpoint that returns recent incident logs and 30-day uptime summary.

Reading time
3 min reading
Updating
Mar 2026

Endpoint

GET /sites/{site}/incidents

Endpoint returns the 20 most recent incident records and a 30-day uptime summary. The result order is reversed according to the opened_at field.

Response Diagram

Top-level fields
Field Description
incidents Array of Incident objects.
uptime_30d Percent uptime value for the last 30 days.
total_incidents_30d Number of incidents opened in the last 30 days.
Incident object fields
Field Description
id Incident ID.
opened_at Opening time
closed_at Closing time or null.
open_reason Incident opening cause.
close_reason Reason for closure.
failure_streak Number of failed checks accumulated while the event is open.
duration_seconds If off, the actual time, if on, the time until the query.
is_open Is Incident on?

Full Example

JSON
{ "incidents": [ { "id": 104, "opened_at": "2026-03-07T09:12:11+00:00", "closed_at": "2026-03-07T09:16:44+00:00", "open_reason": "Both probes failed", "close_reason": "Recovered: Both probes succeeded", "failure_streak": 4, "duration_seconds": 273, "is_open": false } ], "uptime_30d": 99.97, "total_incidents_30d": 2 }