fabric · Capability

fabric PIM — Categories

fabric PIM — Categories. 8 operations. Lead operation: Create Category. Self-contained Naftiko capability covering one fabric business surface.

fabric PIM — Categories is a Naftiko capability published by fabric, one of 25 capabilities the APIs.io network indexes for this provider. It bundles 8 operations across the GET, POST, and PUT methods rooted at /v1/api-category/v1/category.

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

Tagged areas include Fabric and Categories.

Run with Naftiko FabricCategories

What You Can Do

POST
Create category — Create Category
/v1/api-category/v1/category
GET
Get categories — Get Categories
/v1/api-category/v1/category
PUT
Modify category — Modify Category
/v1/api-category/v1/category/{nodeId}
GET
Find categories — Find Categories
/v1/api-category/v1/category/search
GET
Get category tree — Get Category Tree
/v1/api-category/v1/category/tree
GET
Get skus in a category — Get Skus in a Category
/v1/api-category/v1/category/sku
POST
Assign and unassign category attributes — Assign and Unassign Category Attributes
/v1/api-category/v1/category/attribute
GET
Get assigned category attributes — Get Assigned Category Attributes
/v1/api-category/v1/category/attribute

MCP Tools

fabric-create-category

Create Category

fabric-get-categories

Get Categories

read-only idempotent
fabric-modify-category

Modify Category

idempotent
fabric-find-categories

Find Categories

read-only idempotent
fabric-get-category-tree

Get Category Tree

read-only idempotent
fabric-get-skus-in-a-category

Get Skus in a Category

read-only idempotent
fabric-assign-and-unassign-category-attributes

Assign and Unassign Category Attributes

fabric-get-assigned-category-attributes

Get Assigned Category Attributes

read-only idempotent

Capability Spec

pim-categories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: fabric PIM — Categories
  description: 'fabric PIM — Categories. 8 operations. Lead operation: Create Category. Self-contained Naftiko capability covering one fabric business surface.'
  tags:
  - Fabric
  - Categories
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FABRIC_ACCESS_TOKEN: FABRIC_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: pim-categories
    baseUri: https://live.copilot.fabric.inc
    description: fabric PIM — Categories consumed operations from fabric-pim-openapi.yml.
    resources:
    - name: api-category-v1-category
      path: /api-category/v1/category
      operations:
      - name: create-category
        method: POST
        description: 'Create Category'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: get-categories
        method: GET
        description: 'Get Categories'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-category-v1-category-nodeid
      path: /api-category/v1/category/{nodeId}
      operations:
      - name: modify-category
        method: PUT
        description: 'Modify Category'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: nodeId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-category-v1-category-search
      path: /api-category/v1/category/search
      operations:
      - name: find-categories
        method: GET
        description: 'Find Categories'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-category-v1-category-tree
      path: /api-category/v1/category/tree
      operations:
      - name: get-category-tree
        method: GET
        description: 'Get Category Tree'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-category-v1-category-sku
      path: /api-category/v1/category/sku
      operations:
      - name: get-skus-in-a-category
        method: GET
        description: 'Get Skus in a Category'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-category-v1-category-attribute
      path: /api-category/v1/category/attribute
      operations:
      - name: assign-and-unassign-category-attributes
        method: POST
        description: 'Assign and Unassign Category Attributes'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: get-assigned-category-attributes
        method: GET
        description: 'Get Assigned Category Attributes'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      value: '{{env.FABRIC_ACCESS_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: pim-categories-rest
    port: 8080
    description: REST adapter for fabric PIM — Categories. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api-category/v1/category
      name: api-category-v1-category
      description: REST surface for api-category-v1-category.
      operations:
      - method: POST
        name: create-category
        description: 'Create Category'
        call: pim-categories.create-category
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: get-categories
        description: 'Get Categories'
        call: pim-categories.get-categories
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-category/v1/category/{nodeId}
      name: api-category-v1-category-nodeid
      description: REST surface for api-category-v1-category-nodeid.
      operations:
      - method: PUT
        name: modify-category
        description: 'Modify Category'
        call: pim-categories.modify-category
        with:
          nodeId: rest.path.nodeId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-category/v1/category/search
      name: api-category-v1-category-search
      description: REST surface for api-category-v1-category-search.
      operations:
      - method: GET
        name: find-categories
        description: 'Find Categories'
        call: pim-categories.find-categories
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-category/v1/category/tree
      name: api-category-v1-category-tree
      description: REST surface for api-category-v1-category-tree.
      operations:
      - method: GET
        name: get-category-tree
        description: 'Get Category Tree'
        call: pim-categories.get-category-tree
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-category/v1/category/sku
      name: api-category-v1-category-sku
      description: REST surface for api-category-v1-category-sku.
      operations:
      - method: GET
        name: get-skus-in-a-category
        description: 'Get Skus in a Category'
        call: pim-categories.get-skus-in-a-category
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api-category/v1/category/attribute
      name: api-category-v1-category-attribute
      description: REST surface for api-category-v1-category-attribute.
      operations:
      - method: POST
        name: assign-and-unassign-category-attributes
        description: 'Assign and Unassign Category Attributes'
        call: pim-categories.assign-and-unassign-category-attributes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: get-assigned-category-attributes
        description: 'Get Assigned Category Attributes'
        call: pim-categories.get-assigned-category-attributes
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pim-categories-mcp
    port: 9090
    transport: http
    description: MCP adapter for fabric PIM — Categories. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: fabric-create-category
      description: 'Create Category'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pim-categories.create-category
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-get-categories
      description: 'Get Categories'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pim-categories.get-categories
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-modify-category
      description: 'Modify Category'
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: pim-categories.modify-category
      with:
        nodeId: tools.nodeId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-find-categories
      description: 'Find Categories'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pim-categories.find-categories
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-get-category-tree
      description: 'Get Category Tree'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pim-categories.get-category-tree
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-get-skus-in-a-category
      description: 'Get Skus in a Category'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pim-categories.get-skus-in-a-category
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-assign-and-unassign-category-attributes
      description: 'Assign and Unassign Category Attributes'
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: pim-categories.assign-and-unassign-category-attributes
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: fabric-get-assigned-category-attributes
      description: 'Get Assigned Category Attributes'
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pim-categories.get-assigned-category-attributes
      outputParameters:
      - type: object
        mapping: $.