Apache Airflow · Capability

Airflow API (Stable) — DagWarning

Airflow API (Stable) — DagWarning. 1 operations. Lead operation: Apache Airflow List Dag Warnings. Self-contained Naftiko capability covering one Apache Airflow business surface.

Run with Naftiko Apache AirflowDagWarning

What You Can Do

GET
Getdagwarnings — Apache Airflow List Dag Warnings
/v1/dagwarnings

MCP Tools

apache-airflow-list-dag-warnings

Apache Airflow List Dag Warnings

read-only idempotent

Capability Spec

apache-airflow-dagwarning.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Airflow API (Stable) — DagWarning
  description: 'Airflow API (Stable) — DagWarning. 1 operations. Lead operation: Apache Airflow List Dag Warnings. Self-contained
    Naftiko capability covering one Apache Airflow business surface.'
  tags:
  - Apache Airflow
  - DagWarning
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_AIRFLOW_API_KEY: APACHE_AIRFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: apache-airflow-dagwarning
    baseUri: ''
    description: Airflow API (Stable) — DagWarning business capability. Self-contained, no shared references.
    resources:
    - name: dagWarnings
      path: /dagWarnings
      operations:
      - name: getdagwarnings
        method: GET
        description: Apache Airflow List Dag Warnings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dag_id
          in: query
          type: string
          description: If set, only return DAG warnings with this dag_id.
        - name: warning_type
          in: query
          type: string
          description: If set, only return DAG warnings with this type.
    authentication:
      type: basic
      username: '{{env.APACHE_AIRFLOW_USER}}'
      password: '{{env.APACHE_AIRFLOW_PASS}}'
  exposes:
  - type: rest
    namespace: apache-airflow-dagwarning-rest
    port: 8080
    description: REST adapter for Airflow API (Stable) — DagWarning. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/dagwarnings
      name: dagwarnings
      description: REST surface for dagWarnings.
      operations:
      - method: GET
        name: getdagwarnings
        description: Apache Airflow List Dag Warnings
        call: apache-airflow-dagwarning.getdagwarnings
        with:
          dag_id: rest.dag_id
          warning_type: rest.warning_type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apache-airflow-dagwarning-mcp
    port: 9090
    transport: http
    description: MCP adapter for Airflow API (Stable) — DagWarning. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-airflow-list-dag-warnings
      description: Apache Airflow List Dag Warnings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-airflow-dagwarning.getdagwarnings
      with:
        dag_id: tools.dag_id
        warning_type: tools.warning_type
      outputParameters:
      - type: object
        mapping: $.