How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Apache Airflow DAG API

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

Apache Airflow DAG API is one of 26 APIs that Apache Airflow publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include DAG. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 9 operations across 6 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 2.

Requests are made against a single base URL, http://localhost:8080/api/v2.

9 operations 6 paths 12 schemas 1 DELETE4 GET2 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2
Base URL
http://localhost:8080/api/v2
Authentication
OAuth 2.0, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Apache Airflow DAG API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (OAuth2PasswordBearer) using the password flow. It accepts HTTP bearer tokens (HTTPBearer).

  • OAuth2PasswordBearer — To authenticate Airflow API requests, clients must include a JWT (JSON Web Token) in the Authorization header of each request. This token is used to verify the…

Paths & Operations 9

Across 6 paths, the API surfaces 9 operations — 1 DELETE, 4 GET, 2 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

DAG 9
GET
/api/v2/dags
Airflow Get Dags
get_dags 27 params → 200401403422
PATCH
/api/v2/dags
Airflow Patch Dags
patch_dags 9 params body → 200401403400404422
GET
/api/v2/dags/{dag_id}
Airflow Get Dag
get_dag 1 param → 200401403400404422
PATCH
/api/v2/dags/{dag_id}
Airflow Patch Dag
patch_dag 2 params body → 200401403400404422
DELETE
/api/v2/dags/{dag_id}
Airflow Delete Dag
delete_dag 1 param → 200401403400404422
GET
/api/v2/dags/{dag_id}/details
Airflow Get Dag Details
get_dag_details 1 param → 200401403400404422
POST
/api/v2/dags/{dag_id}/favorite
Airflow Favorite Dag
favorite_dag 1 param → 204401403404422
POST
/api/v2/dags/{dag_id}/unfavorite
Airflow Unfavorite Dag
unfavorite_dag 1 param → 204401403404409422
GET
/api/v2/dagTags
Airflow Get Dag Tags
get_dag_tags 4 params → 200401403422

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are DAGDetailsResponse (48 properties), DAGResponse (30 properties), DagVersionResponse (8 properties), ValidationError (5 properties). Each schema is shown below with its type and property counts.

HTTPValidationError
object
1 property
DAGPatchBody
object
Dag Serializer for updatable bodies.
1 property 1 required
DAGTagCollectionResponse
object
DAG Tags Collection serializer for responses.
2 properties 2 required
DagRunType
string
Class with DagRun types.
DagVersionResponse
object
Dag Version serializer for responses.
8 properties 8 required
DagTagResponse
object
DAG Tag serializer for responses.
3 properties 3 required
DagRunState
string
All possible states that a DagRun can be in. These are "shared" with TaskInstanceState in some parts of the code, so please ensure that their values always mat…
ValidationError
object
5 properties 3 required
HTTPExceptionResponse
object
HTTPException Model used for error response.
1 property 1 required
DAGCollectionResponse
object
DAG Collection serializer for responses.
2 properties 2 required
DAGResponse
object
DAG serializer for responses.
30 properties 30 required
DAGDetailsResponse
object
Specific serializer for DAG Details responses.
48 properties 45 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

airflow-dag-api-openapi.yml Raw ↑

Other APIs Apache Airflow publishes across the network.

Apache Airflow Asset API
Apache Airflow Backfill API
Apache Airflow Config API
Apache Airflow Connection API
Apache Airflow DAG Parsing API
Apache Airflow DagRun API
Apache Airflow DagSource API
Apache Airflow DagStats API
Apache Airflow DagVersion API
Apache Airflow DagWarning API
Apache Airflow Event Log API
Apache Airflow experimental API
Where this information came from

This is an independent, third-party profile of Apache Airflow DAG API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.