Skip to content

GetTimeSeriesDataParams

Defined in: src/types/time_series.ts:8

Parameters for querying aggregated time series data.

optional aggregate?: string

Defined in: src/types/time_series.ts:14

Aggregation function (e.g., “avg”, “min”, “max”, “count”).


optional aggregation_interval?: string

Defined in: src/types/time_series.ts:16

Interval for aggregation (e.g., “hour”, “day”, “week”).


optional desc_order?: boolean

Defined in: src/types/time_series.ts:22

Whether to return results in descending order.


optional differential?: boolean

Defined in: src/types/time_series.ts:18

Whether to compute differential values.


optional end_time?: number

Defined in: src/types/time_series.ts:30

End of the time range (epoch seconds).


node_id: string

Defined in: src/types/time_series.ts:10

Node ID to fetch time series data for.


optional num_intervals?: number

Defined in: src/types/time_series.ts:32

Number of aggregation intervals to return.


optional num_records?: number

Defined in: src/types/time_series.ts:36

Maximum number of records to return.


param_name: string

Defined in: src/types/time_series.ts:12

Parameter name to query.


optional reset_on_negative?: boolean

Defined in: src/types/time_series.ts:20

Whether to reset accumulated value on negative deltas.


optional start_id?: string

Defined in: src/types/time_series.ts:34

ID to start pagination from.


optional start_time?: number

Defined in: src/types/time_series.ts:28

Start of the time range (epoch seconds).


optional timezone?: string

Defined in: src/types/time_series.ts:38

Timezone for aggregation boundaries.


optional type?: string

Defined in: src/types/time_series.ts:24

Data type filter.


optional week_start?: string

Defined in: src/types/time_series.ts:26

Day the week starts on for weekly aggregation.