Get Workflow Health
get_workflow_healthAssess workflow reliability by analyzing duration, success rates, MTTR, and identifying slowest, most-failed, and flaky tests to optimize test splitting and reduce flakiness.
Instructions
Return a combined health report for a specific workflow: duration/success/MTTR metrics, slowest and most-failed tests, and flaky tests. Use this to evaluate test splitting opportunities, flakiness, and overall reliability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Filter to a specific branch. Defaults to the default branch. | |
| all_branches | No | Set true to aggregate across all branches. | |
| project_slug | Yes | Project slug (e.g. gh/org/repo or circleci/orgID/projectID). | |
| workflow_name | Yes | Exact workflow name as it appears in the config. | |
| reporting_window | No | Time window for Insights aggregation. | last-30-days |