Polytomic · Capability

API Reference — subpackage_modelSync.subpackage_modelSync/targets

API Reference — subpackage_modelSync.subpackage_modelSync/targets. 3 operations. Lead operation: Get Sync Target Fields. Self-contained Naftiko capability covering one Polytomic business surface.

Run with Naftiko Polytomicsubpackage_modelSync.subpackage_modelSync/targets

What You Can Do

GET
Gettargetfields — Get Sync Target Fields
/v1/api/connections/{id}/modelsync/target/fields
GET
List — Get Target Objects
/v1/api/connections/{id}/modelsync/targetobjects
GET
Getcreateproperty — Get Target Creation Property Values
/v1/api/connections/{id}/modelsync/targetobjects/properties/{property}

MCP Tools

get-sync-target-fields

Get Sync Target Fields

read-only idempotent
get-target-objects

Get Target Objects

read-only idempotent
get-target-creation-property-values

Get Target Creation Property Values

read-only idempotent

Capability Spec

polytomic-subpackage-modelsync-subpackage-modelsync-targets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — subpackage_modelSync.subpackage_modelSync/targets
  description: 'API Reference — subpackage_modelSync.subpackage_modelSync/targets. 3 operations. Lead operation: Get Sync
    Target Fields. Self-contained Naftiko capability covering one Polytomic business surface.'
  tags:
  - Polytomic
  - subpackage_modelSync.subpackage_modelSync/targets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POLYTOMIC_API_KEY: POLYTOMIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: polytomic-subpackage-modelsync-subpackage-modelsync-targets
    baseUri: https://app.polytomic.com
    description: API Reference — subpackage_modelSync.subpackage_modelSync/targets business capability. Self-contained, no
      shared references.
    resources:
    - name: api-connections-id-modelsync-target-fields
      path: /api/connections/{id}/modelsync/target/fields
      operations:
      - name: gettargetfields
        method: GET
        description: Get Sync Target Fields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: Unique identifier of the connection.
          required: true
        - name: target
          in: query
          type: string
          description: Identifier of the target object (e.g. schema.table for a database destination, object name for a SaaS
            destination).
          required: true
        - name: refresh
          in: query
          type: boolean
          description: When true, force a cache refresh of the target's schema before returning its fields.
        - name: Authorization
          in: header
          type: string
          description: Bearer user API key
          required: true
        - name: X-Polytomic-Version
          in: header
          type: string
    - name: api-connections-id-modelsync-targetobjects
      path: /api/connections/{id}/modelsync/targetobjects
      operations:
      - name: list
        method: GET
        description: Get Target Objects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
          description: Bearer user API key
          required: true
        - name: X-Polytomic-Version
          in: header
          type: string
    - name: api-connections-id-modelsync-targetobjects-properties-property
      path: /api/connections/{id}/modelsync/targetobjects/properties/{property}
      operations:
      - name: getcreateproperty
        method: GET
        description: Get Target Creation Property Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: property
          in: path
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
          description: Bearer user API key
          required: true
        - name: X-Polytomic-Version
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.POLYTOMIC_API_KEY}}'
  exposes:
  - type: rest
    namespace: polytomic-subpackage-modelsync-subpackage-modelsync-targets-rest
    port: 8080
    description: REST adapter for API Reference — subpackage_modelSync.subpackage_modelSync/targets. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/connections/{id}/modelsync/target/fields
      name: api-connections-id-modelsync-target-fields
      description: REST surface for api-connections-id-modelsync-target-fields.
      operations:
      - method: GET
        name: gettargetfields
        description: Get Sync Target Fields
        call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.gettargetfields
        with:
          id: rest.id
          target: rest.target
          refresh: rest.refresh
          Authorization: rest.Authorization
          X-Polytomic-Version: rest.X-Polytomic-Version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connections/{id}/modelsync/targetobjects
      name: api-connections-id-modelsync-targetobjects
      description: REST surface for api-connections-id-modelsync-targetobjects.
      operations:
      - method: GET
        name: list
        description: Get Target Objects
        call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.list
        with:
          id: rest.id
          Authorization: rest.Authorization
          X-Polytomic-Version: rest.X-Polytomic-Version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connections/{id}/modelsync/targetobjects/properties/{property}
      name: api-connections-id-modelsync-targetobjects-properties-property
      description: REST surface for api-connections-id-modelsync-targetobjects-properties-property.
      operations:
      - method: GET
        name: getcreateproperty
        description: Get Target Creation Property Values
        call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.getcreateproperty
        with:
          id: rest.id
          property: rest.property
          Authorization: rest.Authorization
          X-Polytomic-Version: rest.X-Polytomic-Version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: polytomic-subpackage-modelsync-subpackage-modelsync-targets-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — subpackage_modelSync.subpackage_modelSync/targets. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: get-sync-target-fields
      description: Get Sync Target Fields
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.gettargetfields
      with:
        id: tools.id
        target: tools.target
        refresh: tools.refresh
        Authorization: tools.Authorization
        X-Polytomic-Version: tools.X-Polytomic-Version
      outputParameters:
      - type: object
        mapping: $.
    - name: get-target-objects
      description: Get Target Objects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.list
      with:
        id: tools.id
        Authorization: tools.Authorization
        X-Polytomic-Version: tools.X-Polytomic-Version
      outputParameters:
      - type: object
        mapping: $.
    - name: get-target-creation-property-values
      description: Get Target Creation Property Values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: polytomic-subpackage-modelsync-subpackage-modelsync-targets.getcreateproperty
      with:
        id: tools.id
        property: tools.property
        Authorization: tools.Authorization
        X-Polytomic-Version: tools.X-Polytomic-Version
      outputParameters:
      - type: object
        mapping: $.