Get uptime
get_uptimeRead measured uptime, downtime minutes, incident counts, and daily history for one monitor or all monitors over a chosen window, so you can report reliability without treating unmeasured time as uptime.
Instructions
Read measured uptime, downtime minutes, incident counts and daily history. With monitor omitted or *, every monitor is returned a page at a time (follow next_cursor); a monitor id returns that monitor alone, so pass no cursor with it. window is capped at 30d unless your plan includes a year of history, and the result's window says which one applied. Unmeasured time is no data, not 100% uptime. Use get_response_times instead for latency, and get_incidents for what failed and why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum records in this page, from 1 to 100; defaults to 50. | |
| cursor | No | Call again with cursor set to the returned next_cursor until next_cursor is null. | |
| window | No | History window ending now, capped at 30 days without history_1y. The result reports the effective window. | 24h |
| monitor | No | Monitor id from list_monitors, or * for all monitors. | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | Yes | ||
| monitors | Yes | ||
| next_cursor | Yes |