OptionaldecimalsOptionalextendedWhether or not you want to query for extra data-points, one before the start date and one beyond the end date (if they exist).
OptionalfactorThe factor to multiply the value by
OptionalfromUsed to override the global time-range for this specific query
For example 2019-01-01T00:00:00Z
OptionallimitHow many values should be fetched. The postAggr is applied to reduce the set of points to the limit.
OptionaloffsetStarting point for returned values
Must be null if postAggr is set
OptionalorderThe order to order datapoints by
OptionalpostAggregrator for aggregation after data storage
Must be null if offset is set
OptionalpostApply a transform. Only applies when postAggr is 'last'.
'difference' takes the difference between the last value in a bucket and the bucket before it.
OptionalpreWhen omitted, the pre-aggregator is determined automatically based on a couple of factors, but in most cases it defaults to "raw".
OptionalrefReference used to identify the value. If not set, a unique reference is generated.
When the output is formatted as CSV, this reference will be used as the column header. In this
case, the variable $TH_UNIT can be used to dynamically render a unit suffix, if applicable.
If no unit is configured, it will fallback to an empty string.
For example:
a reference value of "Weight$TH_UNIT" would in CSV format output as "Weight (kg)".
OptionalselectorThe selector for getting data from a specific tag or variable. Can be used instead of tag or variable field
Formatted as
OptionalstepNumber of seconds between subsequent data-points
OptionaltagThe tag to fetch the data from. Must be null if variable is set
OptionaltoUsed to override the global time-range for this specific query
For example 2019-01-01T23:59:59Z
OptionalunitThe unit of the value
OptionalvariableThe variable to fetch the data from. Must be null if tag is set
Number of decimals to be returned