Get uptime for a monitor
get_uptime_summaryReport a monitor's uptime percentage, average response time, and incident count across the last 24 hours, 7 days, and 30 days to assess its reliability.
Instructions
Report one monitor's uptime percentage, average response time and incident count over the last 24 hours, 7 days and 30 days at once, to answer how reliable it has been. The three windows are rolling: they end at the call and reach back 24 hours, 7 days and 30 days, not UTC days, so a 30-day sum of get_uptime_daily can differ slightly. For a day-by-day series use get_uptime_daily; for response time per region use get_response_time_by_region; for the individual failures use list_check_results. Returns monitor_id and windows keyed 24h, 7d and 30d, each with uptime_percentage, downtime_seconds, observed_seconds, window_start (later than the window's start when the monitor is younger), total_checks, up_checks, down_checks, degraded_checks, incident_count and avg_response_time_ms. uptime_percentage is the share of observed time outside confirmed outages (an outage counts from the first failing probe to the first probe that is not DOWN; a failure only one region saw does not count; maintenance counts as up; paused time is left out; hours with no checks are left out; null when nothing was observed). The check counts are informational: a failed check outside a confirmed outage does not lower uptime_percentage. A window longer than the plan's history has null uptime_percentage and avg_response_time_ms and zero counts; get_plan_usage shows the plan's history days. With from (and optionally to) the answer has one window, keyed range, over those UTC days instead of 24h, 7d and 30d; a range entirely older than the plan's history, or ending before the monitor was created, has null uptime_percentage and avg_response_time_ms and zero counts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"monitor_id": "<monitor_id>"
},
"name": "get_uptime_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last UTC date of a calendar range, YYYY-MM-DD, inclusive; needs from. Without it, or after today, the range ends today. | |
| from | No | First UTC date of a calendar range, YYYY-MM-DD, inclusive. The range is cut to the plan's history; a range entirely older than it returns no data. | |
| monitor_id | Yes | The monitor's uuid from list_monitors. An id that is not a monitor of this organization, or a deleted one, is a 404. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| windows | Yes | ||
| monitor_id | Yes |