list_task_instances
Retrieve task instances for a specific DAG run, showing their states and timings. Optionally filter by task state to focus on failures or other statuses.
Instructions
List task instances in a DAG run, with their states and timings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG. | |
| dag_run_id | Yes | The run to inspect. | |
| limit | No | Max task instances to return (Airflow caps this at 100). | |
| offset | No | Task instances to skip. | |
| state | No | Filter by task state, e.g. ["failed", "upstream_failed"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_instances | No | ||
| total_entries | No |