Apache Airflow · Capability

Airflow API — Import Error

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

Run with Naftiko AirflowImport Error

What You Can Do

GET
Getimporterrors — Airflow Get Import Errors
/v1/api/v2/importerrors
GET
Getimporterror — Airflow Get Import Error
/v1/api/v2/importerrors/{import-error-id}

MCP Tools

airflow-get-import-errors

Airflow Get Import Errors

read-only idempotent
airflow-get-import-error

Airflow Get Import Error

read-only idempotent

Capability Spec

airflow-import-error.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Airflow API — Import Error
  description: 'Airflow API — Import Error. 2 operations. Lead operation: Airflow Get Import Errors. Self-contained Naftiko
    capability covering one Airflow business surface.'
  tags:
  - Airflow
  - Import Error
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AIRFLOW_API_KEY: AIRFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: airflow-import-error
    baseUri: ''
    description: Airflow API — Import Error business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-importErrors
      path: /api/v2/importErrors
      operations:
      - name: getimporterrors
        method: GET
        description: Airflow Get Import Errors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
        - name: order_by
          in: query
          type: array
          description: 'Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported
            attributes: `id, timestamp, filename, bundle_name, sta'
        - name: filename_pattern
          in: query
          type: string
          description: 'SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR
            logic (e.g. `dag1 | dag2`). Regular expressions are **not** '
    - name: api-v2-importErrors-import_error_id
      path: /api/v2/importErrors/{import_error_id}
      operations:
      - name: getimporterror
        method: GET
        description: Airflow Get Import Error
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: import_error_id
          in: path
          type: integer
          required: true
    authentication:
      type: bearer
      token: '{{env.AIRFLOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: airflow-import-error-rest
    port: 8080
    description: REST adapter for Airflow API — Import Error. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/importerrors
      name: api-v2-importerrors
      description: REST surface for api-v2-importErrors.
      operations:
      - method: GET
        name: getimporterrors
        description: Airflow Get Import Errors
        call: airflow-import-error.getimporterrors
        with:
          limit: rest.limit
          offset: rest.offset
          order_by: rest.order_by
          filename_pattern: rest.filename_pattern
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/importerrors/{import-error-id}
      name: api-v2-importerrors-import-error-id
      description: REST surface for api-v2-importErrors-import_error_id.
      operations:
      - method: GET
        name: getimporterror
        description: Airflow Get Import Error
        call: airflow-import-error.getimporterror
        with:
          import_error_id: rest.import_error_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: airflow-import-error-mcp
    port: 9090
    transport: http
    description: MCP adapter for Airflow API — Import Error. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: airflow-get-import-errors
      description: Airflow Get Import Errors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: airflow-import-error.getimporterrors
      with:
        limit: tools.limit
        offset: tools.offset
        order_by: tools.order_by
        filename_pattern: tools.filename_pattern
      outputParameters:
      - type: object
        mapping: $.
    - name: airflow-get-import-error
      description: Airflow Get Import Error
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: airflow-import-error.getimporterror
      with:
        import_error_id: tools.import_error_id
      outputParameters:
      - type: object
        mapping: $.