Codat · Capability

Platform API — Supplemental data

Platform API — Supplemental data. 2 operations. Lead operation: Configure. Self-contained Naftiko capability covering one Codat business surface.

Run with Naftiko CodatSupplemental data

What You Can Do

PUT
Configuresupplementaldata — Configure
/v1/integrations/{platformkey}/datatypes/{datatype}/supplementaldataconfig
GET
Getsupplementaldataconfiguration — Get configuration
/v1/integrations/{platformkey}/datatypes/{datatype}/supplementaldataconfig

MCP Tools

configure

Configure

idempotent
get-configuration

Get configuration

read-only idempotent

Capability Spec

platform-supplemental-data.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Platform API — Supplemental data
  description: 'Platform API — Supplemental data. 2 operations. Lead operation: Configure. Self-contained Naftiko capability
    covering one Codat business surface.'
  tags:
  - Codat
  - Supplemental data
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CODAT_API_KEY: CODAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-supplemental-data
    baseUri: https://api.codat.io
    description: Platform API — Supplemental data business capability. Self-contained, no shared references.
    resources:
    - name: integrations-platformKey-dataTypes-dataType-supplementalDataConfig
      path: /integrations/{platformKey}/dataTypes/{dataType}/supplementalDataConfig
      operations:
      - name: configuresupplementaldata
        method: PUT
        description: Configure
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getsupplementaldataconfiguration
        method: GET
        description: Get configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.CODAT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: platform-supplemental-data-rest
    port: 8080
    description: REST adapter for Platform API — Supplemental data. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/integrations/{platformkey}/datatypes/{datatype}/supplementaldataconfig
      name: integrations-platformkey-datatypes-datatype-supplementaldataconfig
      description: REST surface for integrations-platformKey-dataTypes-dataType-supplementalDataConfig.
      operations:
      - method: PUT
        name: configuresupplementaldata
        description: Configure
        call: platform-supplemental-data.configuresupplementaldata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getsupplementaldataconfiguration
        description: Get configuration
        call: platform-supplemental-data.getsupplementaldataconfiguration
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-supplemental-data-mcp
    port: 9090
    transport: http
    description: MCP adapter for Platform API — Supplemental data. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: configure
      description: Configure
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-supplemental-data.configuresupplementaldata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-configuration
      description: Get configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-supplemental-data.getsupplementaldataconfiguration
      outputParameters:
      - type: object
        mapping: $.