← API reference
CANONICAL TYPE REFERENCE

AggregateMetricPointsInput

Input for time-bucketed metric aggregation

Metric to aggregate

Start of time range (ISO8601, required)

End of time range (ISO8601, required)

Time bucket interval (e.g. HOUR, DAY)

Aggregate functions to compute (default: [AVG])

Filter by tag key-value pairs (only points matching all tags are included)

Gap-fill strategy for missing time buckets (default: NONE). Requires Toolkit.

View exact SDL
"""Input for time-bucketed metric aggregation"""
input AggregateMetricPointsInput {
  """Metric to aggregate"""
  metricId: MetricID!
  """Start of time range (ISO8601, required)"""
  from: ISO8601!
  """End of time range (ISO8601, required)"""
  to: ISO8601!
  """Time bucket interval (e.g. HOUR, DAY)"""
  interval: MetricInterval!
  """Aggregate functions to compute (default: [AVG])"""
  aggregates: [MetricAggregateFunction!]
  """
  Filter by tag key-value pairs (only points matching all tags are included)
  """
  tags: [DictionaryInput!]
  """
  Gap-fill strategy for missing time buckets (default: NONE). Requires Toolkit.
  """
  gapfill: GapfillMode
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.