Alation · Capability

Alation Lineage API — Dataflows

Alation Lineage API — Dataflows. 5 operations. Lead operation: List dataflows. Self-contained Naftiko capability covering one Alation business surface.

Run with Naftiko AlationDataflows

What You Can Do

GET
Listdataflows — List dataflows
/v1/dataflow
POST
Createdataflow — Create a dataflow
/v1/dataflow
GET
Getdataflow — Get a dataflow
/v1/dataflow/{id}
PUT
Updatedataflow — Update a dataflow
/v1/dataflow/{id}
DELETE
Deletedataflow — Delete a dataflow
/v1/dataflow/{id}

MCP Tools

list-dataflows

List dataflows

read-only idempotent
create-dataflow

Create a dataflow

get-dataflow

Get a dataflow

read-only idempotent
update-dataflow

Update a dataflow

idempotent
delete-dataflow

Delete a dataflow

idempotent

Capability Spec

lineage-dataflows.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Alation Lineage API — Dataflows
  description: 'Alation Lineage API — Dataflows. 5 operations. Lead operation: List dataflows. Self-contained Naftiko capability
    covering one Alation business surface.'
  tags:
  - Alation
  - Dataflows
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ALATION_API_KEY: ALATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: lineage-dataflows
    baseUri: https://{instance}/api/v1
    description: Alation Lineage API — Dataflows business capability. Self-contained, no shared references.
    resources:
    - name: dataflow
      path: /dataflow/
      operations:
      - name: listdataflows
        method: GET
        description: List dataflows
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
        - name: skip
          in: query
          type: integer
      - name: createdataflow
        method: POST
        description: Create a dataflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: dataflow-id
      path: /dataflow/{id}/
      operations:
      - name: getdataflow
        method: GET
        description: Get a dataflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
      - name: updatedataflow
        method: PUT
        description: Update a dataflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedataflow
        method: DELETE
        description: Delete a dataflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
    authentication:
      type: bearer
      token: '{{env.ALATION_API_KEY}}'
  exposes:
  - type: rest
    namespace: lineage-dataflows-rest
    port: 8080
    description: REST adapter for Alation Lineage API — Dataflows. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/dataflow
      name: dataflow
      description: REST surface for dataflow.
      operations:
      - method: GET
        name: listdataflows
        description: List dataflows
        call: lineage-dataflows.listdataflows
        with:
          limit: rest.limit
          skip: rest.skip
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdataflow
        description: Create a dataflow
        call: lineage-dataflows.createdataflow
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/dataflow/{id}
      name: dataflow-id
      description: REST surface for dataflow-id.
      operations:
      - method: GET
        name: getdataflow
        description: Get a dataflow
        call: lineage-dataflows.getdataflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatedataflow
        description: Update a dataflow
        call: lineage-dataflows.updatedataflow
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedataflow
        description: Delete a dataflow
        call: lineage-dataflows.deletedataflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lineage-dataflows-mcp
    port: 9090
    transport: http
    description: MCP adapter for Alation Lineage API — Dataflows. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-dataflows
      description: List dataflows
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lineage-dataflows.listdataflows
      with:
        limit: tools.limit
        skip: tools.skip
      outputParameters:
      - type: object
        mapping: $.
    - name: create-dataflow
      description: Create a dataflow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: lineage-dataflows.createdataflow
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-dataflow
      description: Get a dataflow
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: lineage-dataflows.getdataflow
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-dataflow
      description: Update a dataflow
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: lineage-dataflows.updatedataflow
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-dataflow
      description: Delete a dataflow
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: lineage-dataflows.deletedataflow
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.