Page views per hour
page_views_by_hourRetrieves hourly page view counts newest first so you can compare traffic spikes with error spikes using errors_by_hour.
Instructions
Hourly page view counts (times the TrackJS agent loaded) newest first (GET /hits/hourly). Combine with errors_by_hour to see whether a spike in errors is just a spike in traffic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. Defaults to 1. Use paging.nextPage from a previous result to continue. | |
| size | No | Items per page, 1-1000. TrackJS defaults to 20. Set to the number of hours wanted, e.g. 48. | |
| endDate | No | Only include data before this ISO 8601 date/date-time (UTC), e.g. 2026-10-08 or 2026-10-08T00:00:00Z. Precision is 1 second. | |
| startDate | No | Only include data after this ISO 8601 date/date-time (UTC), e.g. 2026-10-01 or 2026-10-01T14:00:00Z. Precision is 1 second. | |
| application | No | Limit results to one TrackJS application key (as configured in TrackJS). Omit for all applications. |