Interface DatapointAggregates

interface DatapointAggregates {
    datapoints: DatapointAggregate[];
    externalId?: string;
    id: number;
    instanceId?: CogniteInstanceId;
    isStep: boolean;
    isString: false;
    nextCursor?: string;
    type?: "numeric";
    unit?: string;
    unitExternalId?: string;
}

Hierarchy (view full)

Properties

datapoints: DatapointAggregate[]
externalId?: string

External id of the timeseries the datapoints belong to.

id: number
instanceId?: CogniteInstanceId

Instance id of the timeseries the datapoints belong to in Cognite Data Modeling.

isStep: boolean

Whether the timeseries is a step series or not

isString: false

Whether or not the datapoints are string values. false for time series with type state.

nextCursor?: string
type?: "numeric"

The type of the time series. Use this, rather than isString, to tell numeric, string and state datapoints apart.

unit?: string

Name of the physical unit of the time series

unitExternalId?: string

The physical unit of the time series (reference to unit catalog). Replaced with target unit if data points were converted.