โ† API reference
Query / devices

downsampleMetricPoints

Downsample metric data points for efficient visualization. Uses the Largest Triangle Three Buckets (LTTB) algorithm to preserve the visual shape of the time series while reducing point count. Optionally preserves gaps in data via gp_lttb(). Uses Toolkit lttb() / gp_lttb(). Requires metric:read permission.

Arguments

Downsample parameters

Returns MetricDownsampleResult!

Scalar fields at a glance

metricIdMetricID!
pointCountInt!
โ†— View the complete MetricDownsampleResult type

Explore in a view

Device Fleet
View exact SDL
"""
Downsample metric data points for efficient visualization. Uses the Largest Triangle Three Buckets (LTTB) algorithm to preserve the visual shape of the time series while reducing point count. Optionally preserves gaps in data via gp_lttb(). Uses Toolkit lttb() / gp_lttb(). Requires metric:read permission.
"""
downsampleMetricPoints(
  """Downsample parameters"""
  input: MetricDownsampleInput!
): MetricDownsampleResult! @topic(names: ["devices"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.