Affinda · Capability

Affinda Data Sources API — Data Sources

Affinda Data Sources — manage custom master-data lists used to match raw extracted values (vendors, SKUs, categories) to canonical entities during parsing.

Affinda Data Sources API — Data Sources is a Naftiko capability published by Affinda, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 3 operations.

The capability includes 1 read-only operation and 2 state-changing operations. Lead operation: List Affinda mapping data sources. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Affinda, Data Sources, and Master Data.

Run with Naftiko AffindaData SourcesMaster Data

MCP Tools

affinda-list-data-sources

List Affinda mapping data sources.

read-only idempotent
affinda-create-data-source

Create an Affinda mapping data source.

affinda-add-data-source-values

Add values to an Affinda mapping data source.

Capability Spec

data-sources-data-sources.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Affinda Data Sources API — Data Sources
  description: Affinda Data Sources — manage custom master-data lists used to match raw extracted values
    (vendors, SKUs, categories) to canonical entities during parsing.
  tags:
  - Affinda
  - Data Sources
  - Master Data
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    AFFINDA_API_KEY: AFFINDA_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-sources
    baseUri: https://api.affinda.com
    description: Affinda v3 Mapping Data Sources.
    resources:
    - name: v3-mapping-data-sources
      path: /v3/mapping_data_sources
      operations:
      - name: listdatasources
        method: GET
        description: List mapping data sources.
        outputRawFormat: json
        outputParameters: [{name: results, type: object, value: $.}]
        inputParameters: []
      - name: createdatasource
        method: POST
        description: Create a mapping data source.
        outputRawFormat: json
        outputParameters: [{name: dataSource, type: object, value: $.}]
        inputParameters:
        - {name: body, in: body, type: object, required: true}
    - name: v3-mapping-data-sources-values
      path: /v3/mapping_data_sources/{identifier}/values
      operations:
      - name: listdatasourcevalues
        method: GET
        description: List values inside a data source.
        outputRawFormat: json
        outputParameters: [{name: results, type: object, value: $.}]
        inputParameters:
        - {name: identifier, in: path, type: string, required: true}
      - name: adddatasourcevalues
        method: POST
        description: Add values to a data source.
        outputRawFormat: json
        outputParameters: [{name: results, type: object, value: $.}]
        inputParameters:
        - {name: identifier, in: path, type: string, required: true}
        - {name: body, in: body, type: object, required: true}
    authentication:
      type: apikey
      key: Authorization
      value: 'Bearer {{env.AFFINDA_API_KEY}}'
      placement: header
  exposes:
  - type: mcp
    namespace: data-sources-mcp
    port: 9090
    transport: http
    description: MCP adapter for Affinda Data Sources.
    tools:
    - name: affinda-list-data-sources
      description: List Affinda mapping data sources.
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: data-sources.listdatasources
      outputParameters: [{type: object, mapping: $.}]
    - name: affinda-create-data-source
      description: Create an Affinda mapping data source.
      hints: {readOnly: false, destructive: false, idempotent: false}
      call: data-sources.createdatasource
      with: {body: tools.body}
      outputParameters: [{type: object, mapping: $.}]
    - name: affinda-add-data-source-values
      description: Add values to an Affinda mapping data source.
      hints: {readOnly: false, destructive: false, idempotent: false}
      call: data-sources.adddatasourcevalues
      with: {identifier: tools.identifier, body: tools.body}
      outputParameters: [{type: object, mapping: $.}]