Windmill · Capability

Windmill API — capture

Windmill API — capture. 7 operations. Lead operation: Get Capture Configs for a Script or Flow. Self-contained Naftiko capability covering one Windmill business surface.

Run with Naftiko Windmillcapture

What You Can Do

GET
Getcaptureconfigs — Get Capture Configs for a Script or Flow
/v1/w/{workspace}/capture/get-configs/{runnable-kind}/{path}
GET
Listcaptures — List Captures for a Script or Flow
/v1/w/{workspace}/capture/list/{runnable-kind}/{path}
POST
Movecapturesandconfigs — Move Captures and Configs for a Script or Flow
/v1/w/{workspace}/capture/move/{runnable-kind}/{path}
POST
Pingcaptureconfig — Ping Capture Config
/v1/w/{workspace}/capture/ping-config/{trigger-kind}/{runnable-kind}/{path}
POST
Setcaptureconfig — Set Capture Config
/v1/w/{workspace}/capture/set-config
GET
Getcapture — Get a Capture
/v1/w/{workspace}/capture/{id}
DELETE
Deletecapture — Delete a Capture
/v1/w/{workspace}/capture/{id}

MCP Tools

get-capture-configs-script-flow

Get Capture Configs for a Script or Flow

read-only idempotent
list-captures-script-flow

List Captures for a Script or Flow

read-only idempotent
move-captures-and-configs-script

Move Captures and Configs for a Script or Flow

ping-capture-config

Ping Capture Config

set-capture-config

Set Capture Config

get-capture

Get a Capture

read-only idempotent
delete-capture

Delete a Capture

idempotent

Capability Spec

windmill-capture.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Windmill API — capture
  description: 'Windmill API — capture. 7 operations. Lead operation: Get Capture Configs for a Script or Flow. Self-contained
    Naftiko capability covering one Windmill business surface.'
  tags:
  - Windmill
  - capture
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WINDMILL_API_KEY: WINDMILL_API_KEY
capability:
  consumes:
  - type: http
    namespace: windmill-capture
    baseUri: ''
    description: Windmill API — capture business capability. Self-contained, no shared references.
    resources:
    - name: w-workspace-capture-get_configs-runnable_kind-path
      path: /w/{workspace}/capture/get_configs/{runnable_kind}/{path}
      operations:
      - name: getcaptureconfigs
        method: GET
        description: Get Capture Configs for a Script or Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-capture-list-runnable_kind-path
      path: /w/{workspace}/capture/list/{runnable_kind}/{path}
      operations:
      - name: listcaptures
        method: GET
        description: List Captures for a Script or Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: trigger_kind
          in: query
          type: string
    - name: w-workspace-capture-move-runnable_kind-path
      path: /w/{workspace}/capture/move/{runnable_kind}/{path}
      operations:
      - name: movecapturesandconfigs
        method: POST
        description: Move Captures and Configs for a Script or Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-capture-ping_config-trigger_kind-runnable_kind-path
      path: /w/{workspace}/capture/ping_config/{trigger_kind}/{runnable_kind}/{path}
      operations:
      - name: pingcaptureconfig
        method: POST
        description: Ping Capture Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: trigger_kind
          in: path
          type: string
          required: true
    - name: w-workspace-capture-set_config
      path: /w/{workspace}/capture/set_config
      operations:
      - name: setcaptureconfig
        method: POST
        description: Set Capture Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-capture-id
      path: /w/{workspace}/capture/{id}
      operations:
      - name: getcapture
        method: GET
        description: Get a Capture
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
      - name: deletecapture
        method: DELETE
        description: Delete a Capture
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
    authentication:
      type: bearer
      token: '{{env.WINDMILL_API_KEY}}'
  exposes:
  - type: rest
    namespace: windmill-capture-rest
    port: 8080
    description: REST adapter for Windmill API — capture. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/w/{workspace}/capture/get-configs/{runnable-kind}/{path}
      name: w-workspace-capture-get-configs-runnable-kind-path
      description: REST surface for w-workspace-capture-get_configs-runnable_kind-path.
      operations:
      - method: GET
        name: getcaptureconfigs
        description: Get Capture Configs for a Script or Flow
        call: windmill-capture.getcaptureconfigs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/capture/list/{runnable-kind}/{path}
      name: w-workspace-capture-list-runnable-kind-path
      description: REST surface for w-workspace-capture-list-runnable_kind-path.
      operations:
      - method: GET
        name: listcaptures
        description: List Captures for a Script or Flow
        call: windmill-capture.listcaptures
        with:
          trigger_kind: rest.trigger_kind
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/capture/move/{runnable-kind}/{path}
      name: w-workspace-capture-move-runnable-kind-path
      description: REST surface for w-workspace-capture-move-runnable_kind-path.
      operations:
      - method: POST
        name: movecapturesandconfigs
        description: Move Captures and Configs for a Script or Flow
        call: windmill-capture.movecapturesandconfigs
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/capture/ping-config/{trigger-kind}/{runnable-kind}/{path}
      name: w-workspace-capture-ping-config-trigger-kind-runnable-kind-path
      description: REST surface for w-workspace-capture-ping_config-trigger_kind-runnable_kind-path.
      operations:
      - method: POST
        name: pingcaptureconfig
        description: Ping Capture Config
        call: windmill-capture.pingcaptureconfig
        with:
          trigger_kind: rest.trigger_kind
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/capture/set-config
      name: w-workspace-capture-set-config
      description: REST surface for w-workspace-capture-set_config.
      operations:
      - method: POST
        name: setcaptureconfig
        description: Set Capture Config
        call: windmill-capture.setcaptureconfig
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/capture/{id}
      name: w-workspace-capture-id
      description: REST surface for w-workspace-capture-id.
      operations:
      - method: GET
        name: getcapture
        description: Get a Capture
        call: windmill-capture.getcapture
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecapture
        description: Delete a Capture
        call: windmill-capture.deletecapture
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: windmill-capture-mcp
    port: 9090
    transport: http
    description: MCP adapter for Windmill API — capture. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-capture-configs-script-flow
      description: Get Capture Configs for a Script or Flow
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-capture.getcaptureconfigs
      outputParameters:
      - type: object
        mapping: $.
    - name: list-captures-script-flow
      description: List Captures for a Script or Flow
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-capture.listcaptures
      with:
        trigger_kind: tools.trigger_kind
      outputParameters:
      - type: object
        mapping: $.
    - name: move-captures-and-configs-script
      description: Move Captures and Configs for a Script or Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-capture.movecapturesandconfigs
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: ping-capture-config
      description: Ping Capture Config
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-capture.pingcaptureconfig
      with:
        trigger_kind: tools.trigger_kind
      outputParameters:
      - type: object
        mapping: $.
    - name: set-capture-config
      description: Set Capture Config
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-capture.setcaptureconfig
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-capture
      description: Get a Capture
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-capture.getcapture
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-capture
      description: Delete a Capture
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: windmill-capture.deletecapture
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.