Get a monitor's daily uptime
get_uptime_dailyReports one monitor's uptime for each UTC day, oldest first through today, to pinpoint the day an outage or degradation began.
Instructions
Report one monitor's uptime for each UTC day, oldest first and ending today, to find the day an outage or degradation began. Each day has date, uptime_percentage, downtime_seconds, observed_seconds, degraded_seconds, total_checks, up_checks, down_checks, degraded_checks and maintenance_checks. degraded_seconds is the day's time in confirmed DEGRADED status (an ongoing degradation counts up to now; 0 on days with no degraded time); it does not lower uptime_percentage. A day with degraded_seconds above 0 and no confirmed outage is a degraded (yellow) day in the dashboard; degraded_checks alone does not make one. uptime_percentage is the share of the day's 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); a day with no checks and no outage has a null uptime_percentage, not 100. The check counts are informational: a failed check outside a confirmed outage does not lower uptime_percentage. For 24h, 7d and 30d totals, or one total over a date range (from and to), use get_uptime_summary. For the uptime of a whole period, add up its days: 1 − sum(downtime_seconds) / sum(observed_seconds). days goes up to the plan's history (at most 1095); a larger value is clamped. With from (and optionally to) every UTC day of that range is returned instead, cut to the plan's history; a range entirely older than it returns days as an empty list. Returns monitor_id and days.
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_daily"
}
}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. | |
| days | No | How many days to return, 1 to 1095; default 30. Capped at the plan's limits.history_retention_days (get_plan_usage), so fewer days can come back. Not together with from or to. | |
| 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 |
|---|---|---|---|
| days | Yes | ||
| monitor_id | Yes |