workflowRunStats
Topics: Workflows
Aggregate a workflow's runs over a time window: totals by status, duration percentiles, time buckets and per-node outcomes. Requires workflow:list permission.
Returns
WorkflowRunStats!Arguments
Workflow whose runs are aggregated
Start of the window (inclusive), by run start time
End of the window (exclusive); defaults to now
Bucket size in minutes, clamped to 5–1440. A window needing more than 500 buckets is rejected.
Default: 60
Exact field SDL
"""
Aggregate a workflow's runs over a time window: totals by status, duration percentiles, time buckets and per-node outcomes. Requires workflow:list permission.
"""
workflowRunStats(
"""Workflow whose runs are aggregated"""
workflowId: WorkflowID!
"""Start of the window (inclusive), by run start time"""
since: ISO8601!
"""End of the window (exclusive); defaults to now"""
until: ISO8601
"""
Bucket size in minutes, clamped to 5–1440. A window needing more than 500 buckets is rejected.
"""
bucketMinutes: Int = 60
): WorkflowRunStats! @topic(names: ["workflows"])Declared on Query. Access is checked by the platform for each operation.