Get hourly statistics
get_stats_hourlyGet hourly uptime and response-time stats for a monitor, including min, max, average, and p95. Identify when outages occur or how long they last by analyzing each hour's data.
Instructions
Response time and uptime for one monitor broken down by hour, with min, max, average and p95 per bucket. Use it to see the shape of a problem: whether a service degrades before it fails, whether outages cluster at a particular time of day, or how long a single incident really lasted. Best over hours or days; for weeks and months use get_stats_daily instead, which returns far fewer rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based. Defaults to 1. | |
| dateTo | No | Last day to include, as YYYY-MM-DD. Defaults to today. | |
| dateFrom | No | First day to include, as YYYY-MM-DD. Defaults to the start of available history. | |
| monitorId | Yes | Monitor id, as returned by list_monitors. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The rows on this page. | |
| totalItems | No | Total across all pages, not just this one. |