Get a check's metrics
updown_get_check_metricsGet aggregated metrics for one check over a time range: uptime, apdex, timings (redirect/namelookup/connection/handshake/response/total, ms) and request counts by response time. Optionally group by 'time' or by 'host' (monitoring location). Data is hourly (daily after 2 days, monthly after 40 days); the range must span at least one hour. Uptime is not returned when grouping. updown: GET /api/checks/:token/metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time, same formats. Default: now. | |
| from | No | Start time (ISO8601, RFC2822 or YYYY-MM-DD; UTC if no zone). Default: 1 month ago. | |
| group | No | Group results by 'time' or by 'host' (location). | |
| token | Yes | The check's unique token, e.g. ngg8 (from updown_list_checks). |