Schema & Types
The Telemetry API displays data in two aggregation types, FloatAggregation & StringAggregation. To specify for each aggregation type, you will need to provide an interval.
Interval String
Interval is the time span that is used for aggregating the data with. A duration string is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as 300ms
, -1.5h
or 2h45m
.
Valid Interval Units
| milliseconds |
| seconds |
| minutes |
| hours |
| days |
| weeks |
| years |
FloatAggregationType
Aggregation type for floats.
| Returns the average value from the dataset. |
| Returns the maximum value from the dataset. |
| Returns the median value from the dataset. |
| Returns the minimum value from the dataset. |
| Returns a randomly-selected value from the dataset. |
StringAggregationType
Aggregation type for strings.
| Returns a randomly-selected value from the dataset. |
| Returns the most frequently occurring value in the dataset. |
| Return a list of unique values in the dataset. |
SignalFilter
The SignalFiler filters signals by source type, valid source types are described below:
Valid Source Input
| Signals from AutoPi aftermarket device. |
| Signals from Macaron aftermarket device. |
| Signals from Smartcar integration. |
| Signals from Tesla integration. |
Last updated