Apache Airflow · Capability

Airflow API — Config

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

Run with Naftiko AirflowConfig

What You Can Do

GET
Getconfig — Airflow Get Config
/v1/api/v2/config
GET
Getconfigvalue — Airflow Get Config Value
/v1/api/v2/config/section/{section}/option/{option}

MCP Tools

airflow-get-config

Airflow Get Config

read-only idempotent
airflow-get-config-value

Airflow Get Config Value

read-only idempotent

Capability Spec

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