get_run_stats
Retrieve per-step execution statistics for a run, including timing, materializations, and expectation results. Use this data to identify slow steps, check asset materializations, or verify expectation outcomes.
Instructions
Get per-step execution statistics for a run: timing, materializations, and expectations.
Returns runId, status, and a stepStats array where each entry has: stepKey, status, startTime, endTime, materializations (with labels), and expectationResults (with success flag and labels).
When to use: to find slow steps (compare startTime/endTime), check which steps materialized assets, or verify expectation results. For failed runs, prefer get_run_failure_summary which includes step stats alongside error details and suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| run_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||