Knowi · Capability

Knowi Push Data API — Pull

Knowi Push Data API — Pull. 1 operations. Lead operation: Pull dataset. Self-contained Naftiko capability covering one Knowi business surface.

Run with Naftiko KnowiPull

What You Can Do

GET
Pulldata — Pull dataset
/v1/api/data/{apikey}

MCP Tools

pull-dataset

Pull dataset

read-only idempotent

Capability Spec

push-data-pull.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Knowi Push Data API — Pull
  description: 'Knowi Push Data API — Pull. 1 operations. Lead operation: Pull dataset. Self-contained Naftiko capability
    covering one Knowi business surface.'
  tags:
  - Knowi
  - Pull
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    KNOWI_API_KEY: KNOWI_API_KEY
capability:
  consumes:
  - type: http
    namespace: push-data-pull
    baseUri: https://www.knowi.com
    description: Knowi Push Data API — Pull business capability. Self-contained, no shared references.
    resources:
    - name: api-data-apiKey
      path: /api/data/{apiKey}
      operations:
      - name: pulldata
        method: GET
        description: Pull dataset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiKey
          in: path
          type: string
          description: API key associated with the target dataset.
          required: true
        - name: entityName
          in: query
          type: string
          description: Dataset name.
        - name: identifier
          in: query
          type: string
          description: Dataset ID.
        - name: exportFormat
          in: query
          type: string
          description: Output format for the response payload.
        - name: c9SqlFilter
          in: query
          type: string
          description: SQL WHERE clause used to filter the records returned.
        - name: limit
          in: query
          type: integer
          description: Maximum number of records to return.
        - name: optimized
          in: query
          type: boolean
          description: When true, returns an optimized response format.
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.KNOWI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: push-data-pull-rest
    port: 8080
    description: REST adapter for Knowi Push Data API — Pull. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/data/{apikey}
      name: api-data-apikey
      description: REST surface for api-data-apiKey.
      operations:
      - method: GET
        name: pulldata
        description: Pull dataset
        call: push-data-pull.pulldata
        with:
          apiKey: rest.apiKey
          entityName: rest.entityName
          identifier: rest.identifier
          exportFormat: rest.exportFormat
          c9SqlFilter: rest.c9SqlFilter
          limit: rest.limit
          optimized: rest.optimized
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: push-data-pull-mcp
    port: 9090
    transport: http
    description: MCP adapter for Knowi Push Data API — Pull. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: pull-dataset
      description: Pull dataset
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: push-data-pull.pulldata
      with:
        apiKey: tools.apiKey
        entityName: tools.entityName
        identifier: tools.identifier
        exportFormat: tools.exportFormat
        c9SqlFilter: tools.c9SqlFilter
        limit: tools.limit
        optimized: tools.optimized
      outputParameters:
      - type: object
        mapping: $.