dag_task_duration
Retrieve task duration data for a specific DAG run in Apache Airflow. Input a DAG ID and optional run ID to access task statistics and execution details efficiently.
Instructions
[Tool Role]: Retrieves task duration information for a specific DAG run.
Args: dag_id: The DAG ID to get task durations for run_id: Specific run ID (if not provided, uses latest run)
Returns: Task duration data: dag_id, run_id, tasks, statistics
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes | ||
run_id | No |
Input Schema (JSON Schema)
{
"properties": {
"dag_id": {
"title": "Dag Id",
"type": "string"
},
"run_id": {
"default": null,
"title": "Run Id",
"type": "string"
}
},
"required": [
"dag_id"
],
"type": "object"
}