fabric · Capability

fabric Product Agent — Activate

fabric Product Agent — Activate. 4 operations. Lead operation: Create Access Token. Self-contained Naftiko capability covering one fabric business surface.

fabric Product Agent — Activate is a Naftiko capability published by fabric, one of 25 capabilities the APIs.io network indexes for this provider. It bundles 4 operations across the POST and GET methods.

The capability includes 1 read-only operation and 3 state-changing operations. Lead operation: Create Access Token. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Fabric and Activate.

Run with Naftiko FabricActivate

What You Can Do

POST
Create access token — Create Access Token
/v1/platform/v1/auth/token
POST
Bulk import categories — Bulk Import Categories
/v1/v2/categories/import
GET
Get category import status — Get Category Import Status
/v1/v2/categories/import/{import_id}
POST
Import attributes from csv — Import Attributes from CSV
/v1/v2/attributes/import

MCP Tools

fabric-create-access-token

Create Access Token

fabric-bulk-import-categories

Bulk Import Categories

fabric-get-category-import-status

Get Category Import Status

read-only idempotent
fabric-import-attributes-from-csv

Import Attributes from CSV

Capability Spec

product-agent-activate.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: fabric Product Agent — Activate
  description: 'fabric Product Agent — Activate. 4 operations. Lead operation: Create Access Token. Self-contained Naftiko capability covering one fabric business surface.'
  tags:
  - Fabric
  - Activate
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FABRIC_ACCESS_TOKEN: FABRIC_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: product-agent-activate
    baseUri: https://commerceos.aiagents.fabric.inc/api
    description: fabric Product Agent — Activate consumed operations from fabric-product-agent-openapi.yml.
    resources:
    - name: platform-v1-auth-token
      path: /platform/v1/auth/token
      operations:
      - name: create-access-token
        method: POST
        description: 'Create Access Token'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-categories-import
      path: /v2/categories/import
      operations:
      - name: bulk-import-categories
        method: POST
        description: 'Bulk Import Categories'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-categories-import-import-id
      path: /v2/categories/import/{import_id}
      operations:
      - name: get-category-import-status
        method: GET
        description: 'Get Category Import Status'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: import_id
          in: path
          type: string
          required: true
    - name: v2-attributes-import
      path: /v2/attributes/import
      operations:
      - name: import-attributes-from-csv
        method: POST
        description: 'Import Attributes from CSV'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      value: '{{env.FABRIC_ACCESS_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: product-agent-activate-rest
    port: 8080
    description: REST adapter for fabric Product Agent — Activate. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/platform/v1/auth/token
      name: platform-v1-auth-token
      description: REST surface for platform-v1-auth-token.
      operations:
      - method: POST
        name: create-access-token
        description: 'Create Access Token'
        call: product-agent-activate.create-access-token
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/categories/import
      name: v2-categories-import
      description: REST surface for v2-categories-import.
      operations:
      - method: POST
        name: bulk-import-categories
        description: 'Bulk Import Categories'
        call: product-agent-activate.bulk-import-categories
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/categories/import/{import_id}
      name: v2-categories-import-import-id
      description: REST surface for v2-categories-import-import-id.
      operations:
      - method: GET
        name: get-category-import-status
        description: 'Get Category Import Status'
        call: product-agent-activate.get-category-import-status
        with:
          import_id: rest.path.import_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/attributes/import
      name: v2-attributes-import
      description: REST surface for v2-attributes-import.
      operations:
      - method: POST
        name: import-attributes-from-csv
        description: 'Import Attributes from CSV'
        call: product-agent-activate.import-attributes-from-csv
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: product-agent-activate-mcp
    port: 9090
    transport: http
    description: MCP adapter for fabric Product Agent — Activate. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: fabric-create-access-token
      description: 'Create Access Token'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: product-agent-activate.create-access-token
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-bulk-import-categories
      description: 'Bulk Import Categories'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: product-agent-activate.bulk-import-categories
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-get-category-import-status
      description: 'Get Category Import Status'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: product-agent-activate.get-category-import-status
      with:
        import_id: tools.import_id
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-import-attributes-from-csv
      description: 'Import Attributes from CSV'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: product-agent-activate.import-attributes-from-csv
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.