Apache Airflow · Capability

Airflow API — Version

Airflow API — Version. 1 operations. Lead operation: Airflow Get Version. Self-contained Naftiko capability covering one Airflow business surface.

Run with Naftiko AirflowVersion

What You Can Do

GET
Getversion — Airflow Get Version
/v1/api/v2/version

MCP Tools

airflow-get-version

Airflow Get Version

read-only idempotent

Capability Spec

airflow-version.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Airflow API — Version
  description: 'Airflow API — Version. 1 operations. Lead operation: Airflow Get Version. Self-contained Naftiko capability
    covering one Airflow business surface.'
  tags:
  - Airflow
  - Version
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AIRFLOW_API_KEY: AIRFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: airflow-version
    baseUri: ''
    description: Airflow API — Version business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-version
      path: /api/v2/version
      operations:
      - name: getversion
        method: GET
        description: Airflow Get Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.AIRFLOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: airflow-version-rest
    port: 8080
    description: REST adapter for Airflow API — Version. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/version
      name: api-v2-version
      description: REST surface for api-v2-version.
      operations:
      - method: GET
        name: getversion
        description: Airflow Get Version
        call: airflow-version.getversion
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: airflow-version-mcp
    port: 9090
    transport: http
    description: MCP adapter for Airflow API — Version. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: airflow-get-version
      description: Airflow Get Version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: airflow-version.getversion
      outputParameters:
      - type: object
        mapping: $.