Uptime history¶
Use GET /monitors/{monitorId} with a status key for private history, or GET /status-pages/{pageId} without a key for a published page. Both paths are relative to https://live.tvr.works/v1.
| Parameter | Behavior |
|---|---|
bucketMinutes |
Bucket width. Defaults to 1440 minutes. |
from and to |
Inclusive start and exclusive end. Pass both as UTC timestamps ending in Z, aligned to the bucket width. |
limit |
Selects the newest buckets in the range. Accepts 1–120. |
Without explicit dates, Live ends the range at the end of the current bucket and returns 90 buckets by default. A response contains at most 120 buckets. A current partial bucket has complete: false.
| Bucket widths in minutes | Retention |
|---|---|
1, 5, 15, 30 |
30 days of raw checks |
60, 180, 360, 720 |
90 days of hourly summaries |
1440 |
365 days of daily summaries |
Each monitor and bucket reports passed, failed, and maintenance. Observed uptime is 100 × passed / (passed + failed). It is null until a regular check is recorded. Maintenance samples count separately. For an explicit range that has aged out at the requested resolution, Live returns 400 with earliestAvailableAt.
See the API reference for response fields and an example.