Historical Data
Get historical data in JSON format
GET
https://<host>/api/historical-data/json
Note: You must ensure that your tag names are URL encoded before being sent. For example, a space character would be replaced by the character sequence %20
.
Query Parameters
Name | Type | Description |
---|---|---|
tags* | string[] | tags to get data for. You can pass multiple, e.g. `?tags=temperature&tags=pressure |
beginTime* | number | beginning of requested time range, milliseconds since Jan 1 1970 UTC |
endTime* | number | end of requested time range, milliseconds since Jan 1 1970 UTC |
interval | number | requested time interval between data points, in milliseconds. If none is given, raw full-resolution data is returned |
includeAverage | boolean | defaults to |
includeMin | boolean | whether to include the minimum value in each time interval ( |
includeMax | string | whether to include the minimum value in each time interval ( |
lookbackMode | string |
|
Headers
Name | Type | Description |
---|---|---|
Authorization* | string |
|
Last updated