Apache Airflow DAG API

The DAG API from Apache Airflow — 8 operation(s) for dag.

Operations 20

GET /api/v2/dags Airflow Get Dags #
PATCH /api/v2/dags Airflow Patch Dags #
GET /api/v2/dags/{dag_id} Airflow Get Dag #
PATCH /api/v2/dags/{dag_id} Airflow Patch Dag #
DELETE /api/v2/dags/{dag_id} Airflow Delete Dag #
GET /api/v2/dags/{dag_id}/details Airflow Get Dag Details #
POST /api/v2/dags/{dag_id}/favorite Airflow Favorite Dag #
POST /api/v2/dags/{dag_id}/unfavorite Airflow Unfavorite Dag #
GET /api/v2/dagTags Airflow Get Dag Tags #
GET /dagSources/{file_token} Apache Airflow Get a Source Code #
GET /dags Apache Airflow List DAGs #
PATCH /dags Apache Airflow Update DAGs #
DELETE /dags/{dag_id} Apache Airflow Delete a DAG #
GET /dags/{dag_id} Apache Airflow Get Basic Information About a DAG #
PATCH /dags/{dag_id} Apache Airflow Update a DAG #
POST /dags/{dag_id}/clearTaskInstances Apache Airflow Clear a Set of Task Instances #
GET /dags/{dag_id}/details Apache Airflow Get a Simplified Representation of DAG #
GET /dags/{dag_id}/tasks Apache Airflow Get Tasks for DAG #
GET /dags/{dag_id}/tasks/{task_id} Apache Airflow Get Simplified Representation of a Task #
POST /dags/{dag_id}/updateTaskInstancesState Apache Airflow Set a State of Task Instances #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/apache-airflow:apache-airflow-dag-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

apache-airflow-dag-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache Airflow DAG API
  x-refined-note:
  - x-apisguru-categories differs across the merged source definitions and was not carried
  - x-logo differs across the merged source definitions and was not carried
  - x-origin differs across the merged source definitions and was not carried
  - x-providerName differs across the merged source definitions and was not carried
  - x-serviceName differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged DAG across 2 of this provider''s published API definitions: airflow-dag-api-openapi.yml, apache-airflow-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- description: Apache Airflow Stable API.
  url: /api/v1
- url: https://apache.local
tags:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/openapi/apache-airflow-dag-api-openapi.yml