This endpoint returns statistics calculated based on the data available for a specific time period. The data is aggregated according to the time interval specified in your request, allowing you to see trends and patterns over time.
Refer to the different statistics types in the Statistics Types section for more information on how the data is aggregated for each type.
The /statistics/interval
endpoint uses Coordinated Universal Time (UTC) for all its calculations. This standardization ensures that data is consistent and comparable across different time zones. By using UTC, the API provides a global view of the data, which is crucial for applications that require a uniform time reference. This approach contrasts with the /statistics/daily
endpoint, which uses the user’s local timezone for calculations, offering a more personalized view.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Start time of the query range in UTC
"2006-01-02T15:04:05"
"2006-01-02T15:04:05Z"
End time of the query range in UTC
"2006-01-02T15:04:05"
"2006-01-02T15:04:05Z"
Interval of the query
1h
Exclude manual metrics from the statistics
1
Whether to include the record IDs in the response
Device types to include in the statistics
OK
The response is of type object
.