← API reference
CANONICAL TYPE REFERENCE

WorkflowRunStats

Aggregate run statistics for one workflow over a time window

totalInt!

Runs started in the window

Run counts for every execution status, including zero counts

Median duration in milliseconds of the window's finished runs; null when none finished

95th-percentile duration in milliseconds of the window's finished runs; null when none finished

Run counts per time bucket, covering the whole window including empty buckets

Per-node step outcomes across the window's runs

View exact SDL
"""Aggregate run statistics for one workflow over a time window"""
type WorkflowRunStats {
  """Runs started in the window"""
  total: Int!
  """Run counts for every execution status, including zero counts"""
  byStatus: [WorkflowRunStatusCount!]!
  """
  Median duration in milliseconds of the window's finished runs; null when none finished
  """
  medianDurationMs: Int
  """
  95th-percentile duration in milliseconds of the window's finished runs; null when none finished
  """
  p95DurationMs: Int
  """
  Run counts per time bucket, covering the whole window including empty buckets
  """
  buckets: [WorkflowRunBucket!]!
  """Per-node step outcomes across the window's runs"""
  nodes: [WorkflowNodeRunStats!]!
}

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