MCP Server for Apache Airflow

get_dag_runs

Get DAG runs for a specific DAG

Input Schema

NameRequiredDescriptionDefault
dag_idYesThe ID of the DAG to retrieve DAG runs for
end_date_gteNoReturns objects greater or equal the specified date
end_date_lteNoReturns objects less than or equal to the specified date
execution_date_gteNoReturns objects greater or equal to the specified date
execution_date_lteNoReturns objects less than or equal to the specified date
limitNoThe numbers of items to return (default: 100)
offsetNoThe number of items to skip before starting to collect the result set
order_byNoThe name of the field to order the results by. Prefix with - to reverse sort order
start_date_gteNoReturns objects greater or equal the specified date
start_date_lteNoReturns objects less or equal the specified date
stateNoThe value can be repeated to retrieve multiple matching values (OR condition)
updated_at_gteNoReturns objects greater or equal the specified date
updated_at_lteNoReturns objects less or equal the specified date

Input Schema (JSON Schema)

{ "properties": { "dag_id": { "description": "The ID of the DAG to retrieve DAG runs for", "type": "string" }, "end_date_gte": { "description": "Returns objects greater or equal the specified date", "format": "date-time", "type": "string" }, "end_date_lte": { "description": "Returns objects less than or equal to the specified date", "format": "date-time", "type": "string" }, "execution_date_gte": { "description": "Returns objects greater or equal to the specified date", "format": "date-time", "type": "string" }, "execution_date_lte": { "description": "Returns objects less than or equal to the specified date", "format": "date-time", "type": "string" }, "limit": { "description": "The numbers of items to return (default: 100)", "minimum": 1, "type": "integer" }, "offset": { "description": "The number of items to skip before starting to collect the result set", "minimum": 0, "type": "integer" }, "order_by": { "description": "The name of the field to order the results by. Prefix with - to reverse sort order", "type": "string" }, "start_date_gte": { "description": "Returns objects greater or equal the specified date", "format": "date-time", "type": "string" }, "start_date_lte": { "description": "Returns objects less or equal the specified date", "format": "date-time", "type": "string" }, "state": { "description": "The value can be repeated to retrieve multiple matching values (OR condition)", "items": { "type": "string" }, "type": "array" }, "updated_at_gte": { "description": "Returns objects greater or equal the specified date", "format": "date-time", "type": "string" }, "updated_at_lte": { "description": "Returns objects less or equal the specified date", "format": "date-time", "type": "string" } }, "required": [ "dag_id" ], "type": "object" }