StackRox · Capability

API Reference — NodeService

API Reference — NodeService. 2 operations. Lead operation: NodeService. Self-contained Naftiko capability covering one Stackrox business surface.

Run with Naftiko StackroxNodeService

What You Can Do

GET
Listnodes — listnodes
/v1/v1/nodes/{clusterid}
GET
Getnode — getnode
/v1/v1/nodes/{clusterid}/{nodeid}

MCP Tools

listnodes

listnodes

read-only idempotent
getnode

getnode

read-only idempotent

Capability Spec

stackrox-nodeservice.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — NodeService
  description: 'API Reference — NodeService. 2 operations. Lead operation: NodeService. Self-contained Naftiko capability
    covering one Stackrox business surface.'
  tags:
  - Stackrox
  - NodeService
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STACKROX_API_KEY: STACKROX_API_KEY
capability:
  consumes:
  - type: http
    namespace: stackrox-nodeservice
    baseUri: https://{central-host}
    description: API Reference — NodeService business capability. Self-contained, no shared references.
    resources:
    - name: v1-nodes-clusterId
      path: /v1/nodes/{clusterId}
      operations:
      - name: listnodes
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: clusterId
          in: path
          type: string
          required: true
    - name: v1-nodes-clusterId-nodeId
      path: /v1/nodes/{clusterId}/{nodeId}
      operations:
      - name: getnode
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: clusterId
          in: path
          type: string
          required: true
        - name: nodeId
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.STACKROX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: stackrox-nodeservice-rest
    port: 8080
    description: REST adapter for API Reference — NodeService. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/nodes/{clusterid}
      name: v1-nodes-clusterid
      description: REST surface for v1-nodes-clusterId.
      operations:
      - method: GET
        name: listnodes
        description: listnodes
        call: stackrox-nodeservice.listnodes
        with:
          clusterId: rest.clusterId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/nodes/{clusterid}/{nodeid}
      name: v1-nodes-clusterid-nodeid
      description: REST surface for v1-nodes-clusterId-nodeId.
      operations:
      - method: GET
        name: getnode
        description: getnode
        call: stackrox-nodeservice.getnode
        with:
          clusterId: rest.clusterId
          nodeId: rest.nodeId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stackrox-nodeservice-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — NodeService. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: listnodes
      description: listnodes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackrox-nodeservice.listnodes
      with:
        clusterId: tools.clusterId
      outputParameters:
      - type: object
        mapping: $.
    - name: getnode
      description: getnode
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackrox-nodeservice.getnode
      with:
        clusterId: tools.clusterId
        nodeId: tools.nodeId
      outputParameters:
      - type: object
        mapping: $.