Apache Airflow DAG API

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

Operations 11

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-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:
  contact:
    email: dev@airflow.apache.org
    name: Apache Software Foundation
    url: https://airflow.apache.org
    x-twitter: TheASF
  description: '# Overview


    To facilitate management, Apache Airflow supports a range of REST API endpoints across its

    objects.'
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Airflow API (Stable) DAG API
  version: 2.5.3
  x-apisguru-categories:
  - messaging
  x-logo:
    url: https://twitter.com/TheASF/profile_image?size=original
  x-origin:
  - format: openapi
    url: https://airflow.apache.org/docs/apache-airflow/stable/_specs/v1.yaml
    version: '3.0'
  x-providerName: apache.org
  x-serviceName: airflow
servers:
- description: Apache Airflow Stable API.
  url: /api/v1
- url: https://apache.local
security: []
tags:


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