Spiceworks · Capability

Spiceworks Cloud Apps API — Devices

Spiceworks Cloud Apps API — Devices. 2 operations. Lead operation: List Inventory Devices. Self-contained Naftiko capability covering one Spiceworks business surface.

Run with Naftiko SpiceworksDevices

What You Can Do

GET
Listdevices — List Inventory Devices
/v1/api/v1/devices
GET
Getdevice — Get Inventory Device
/v1/api/v1/devices/{id}

MCP Tools

list-inventory-devices

List Inventory Devices

read-only idempotent
get-inventory-device

Get Inventory Device

read-only idempotent

Capability Spec

cloud-apps-devices.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spiceworks Cloud Apps API — Devices
  description: 'Spiceworks Cloud Apps API — Devices. 2 operations. Lead operation: List Inventory Devices. Self-contained
    Naftiko capability covering one Spiceworks business surface.'
  tags:
  - Spiceworks
  - Devices
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SPICEWORKS_API_KEY: SPICEWORKS_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-apps-devices
    baseUri: https://community.spiceworks.com
    description: Spiceworks Cloud Apps API — Devices business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-devices
      path: /api/v1/devices
      operations:
      - name: listdevices
        method: GET
        description: List Inventory Devices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: query
          type: string
          description: Filter by device type
        - name: page
          in: query
          type: integer
          description: Page number for pagination
        - name: per_page
          in: query
          type: integer
          description: Number of devices per page
    - name: api-v1-devices-id
      path: /api/v1/devices/{id}
      operations:
      - name: getdevice
        method: GET
        description: Get Inventory Device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: The unique identifier of the device
          required: true
    authentication:
      type: bearer
      token: '{{env.SPICEWORKS_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-apps-devices-rest
    port: 8080
    description: REST adapter for Spiceworks Cloud Apps API — Devices. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v1/devices
      name: api-v1-devices
      description: REST surface for api-v1-devices.
      operations:
      - method: GET
        name: listdevices
        description: List Inventory Devices
        call: cloud-apps-devices.listdevices
        with:
          type: rest.type
          page: rest.page
          per_page: rest.per_page
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/devices/{id}
      name: api-v1-devices-id
      description: REST surface for api-v1-devices-id.
      operations:
      - method: GET
        name: getdevice
        description: Get Inventory Device
        call: cloud-apps-devices.getdevice
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-apps-devices-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spiceworks Cloud Apps API — Devices. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-inventory-devices
      description: List Inventory Devices
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-apps-devices.listdevices
      with:
        type: tools.type
        page: tools.page
        per_page: tools.per_page
      outputParameters:
      - type: object
        mapping: $.
    - name: get-inventory-device
      description: Get Inventory Device
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-apps-devices.getdevice
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.