Cribl · Capability

Cribl Stream API — Worker Groups

Cribl Stream API — Worker Groups. 3 operations. Lead operation: List all Stream worker groups. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblWorker Groups

What You Can Do

GET
Listworkergroups — List all Stream worker groups
/v1/master/groups
POST
Createworkergroup — Create a worker group
/v1/master/groups
POST
Deployworkergroup — Deploy configuration to a worker group
/v1/master/groups/{id}/deploy

MCP Tools

list-all-stream-worker-groups

List all Stream worker groups

read-only idempotent
create-worker-group

Create a worker group

deploy-configuration-worker-group

Deploy configuration to a worker group

Capability Spec

stream-worker-groups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Stream API — Worker Groups
  description: 'Cribl Stream API — Worker Groups. 3 operations. Lead operation: List all Stream worker groups. Self-contained
    Naftiko capability covering one Cribl business surface.'
  tags:
  - Cribl
  - Worker Groups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CRIBL_API_KEY: CRIBL_API_KEY
capability:
  consumes:
  - type: http
    namespace: stream-worker-groups
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Stream API — Worker Groups business capability. Self-contained, no shared references.
    resources:
    - name: master-groups
      path: /master/groups
      operations:
      - name: listworkergroups
        method: GET
        description: List all Stream worker groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createworkergroup
        method: POST
        description: Create a worker group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: master-groups-id-deploy
      path: /master/groups/{id}/deploy
      operations:
      - name: deployworkergroup
        method: POST
        description: Deploy configuration to a worker group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CRIBL_API_KEY}}'
  exposes:
  - type: rest
    namespace: stream-worker-groups-rest
    port: 8080
    description: REST adapter for Cribl Stream API — Worker Groups. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/master/groups
      name: master-groups
      description: REST surface for master-groups.
      operations:
      - method: GET
        name: listworkergroups
        description: List all Stream worker groups
        call: stream-worker-groups.listworkergroups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createworkergroup
        description: Create a worker group
        call: stream-worker-groups.createworkergroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/master/groups/{id}/deploy
      name: master-groups-id-deploy
      description: REST surface for master-groups-id-deploy.
      operations:
      - method: POST
        name: deployworkergroup
        description: Deploy configuration to a worker group
        call: stream-worker-groups.deployworkergroup
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stream-worker-groups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Stream API — Worker Groups. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-all-stream-worker-groups
      description: List all Stream worker groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stream-worker-groups.listworkergroups
      outputParameters:
      - type: object
        mapping: $.
    - name: create-worker-group
      description: Create a worker group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: stream-worker-groups.createworkergroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deploy-configuration-worker-group
      description: Deploy configuration to a worker group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: stream-worker-groups.deployworkergroup
      outputParameters:
      - type: object
        mapping: $.