Pixie · Capability

Pixie API — Clusters

Pixie API — Clusters. 2 operations. Lead operation: Pixie List clusters. Self-contained Naftiko capability covering one Pixie business surface.

Run with Naftiko PixieClusters

What You Can Do

GET
Listclusters — Pixie List clusters
/v1/api/clusters
GET
Getcluster — Pixie Get cluster details
/v1/api/clusters/{cluster-id}

MCP Tools

pixie-list-clusters

Pixie List clusters

read-only idempotent
pixie-get-cluster-details

Pixie Get cluster details

read-only idempotent

Capability Spec

pixie-clusters.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Pixie API — Clusters
  description: 'Pixie API — Clusters. 2 operations. Lead operation: Pixie List clusters. Self-contained Naftiko capability
    covering one Pixie business surface.'
  tags:
  - Pixie
  - Clusters
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PIXIE_API_KEY: PIXIE_API_KEY
capability:
  consumes:
  - type: http
    namespace: pixie-clusters
    baseUri: https://work.withpixie.ai
    description: Pixie API — Clusters business capability. Self-contained, no shared references.
    resources:
    - name: api-clusters
      path: /api/clusters
      operations:
      - name: listclusters
        method: GET
        description: Pixie List clusters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-clusters-cluster_id
      path: /api/clusters/{cluster_id}
      operations:
      - name: getcluster
        method: GET
        description: Pixie Get cluster details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: pixie-api-key
      value: '{{env.PIXIE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pixie-clusters-rest
    port: 8080
    description: REST adapter for Pixie API — Clusters. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/clusters
      name: api-clusters
      description: REST surface for api-clusters.
      operations:
      - method: GET
        name: listclusters
        description: Pixie List clusters
        call: pixie-clusters.listclusters
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/clusters/{cluster-id}
      name: api-clusters-cluster-id
      description: REST surface for api-clusters-cluster_id.
      operations:
      - method: GET
        name: getcluster
        description: Pixie Get cluster details
        call: pixie-clusters.getcluster
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pixie-clusters-mcp
    port: 9090
    transport: http
    description: MCP adapter for Pixie API — Clusters. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: pixie-list-clusters
      description: Pixie List clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pixie-clusters.listclusters
      outputParameters:
      - type: object
        mapping: $.
    - name: pixie-get-cluster-details
      description: Pixie Get cluster details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pixie-clusters.getcluster
      outputParameters:
      - type: object
        mapping: $.