v3

latestOpenAPI 3.0.02026-07-2759120262.8 KB
Monitors

Get monitor uptime statistics

Returns uptime statistics for a specific monitor within a configurable date range. Defaults to the last 24 hours. Maximum range is 90 days.

get/monitors/{id}/stats/uptime

Path parameters

idnumber required

The monitor ID

Query parameters

fromstring
Example:2025-01-01T00:00:00Z

Start date for statistics (ISO 8601 format). Defaults to 24 hours ago.

tostring
Example:2025-01-07T00:00:00Z

End date for statistics (ISO 8601 format). Defaults to now.

Response

uptimenumber required

Uptime percentage (0-100)

total_downtime_secondsnumber required

Total downtime duration in seconds

incident_countnumber required

Number of incidents in the period

mtbfnumber nullable required

Mean Time Between Failures in seconds, or null if no incidents occurred

fromstring required

Start of the date range (ISO 8601)

tostring required

End of the date range (ISO 8601)