Cribl · Capability

Cribl Stream API — Destinations

Cribl Stream API — Destinations. 2 operations. Lead operation: List Stream destinations in a worker group. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblDestinations

What You Can Do

GET
Liststreamdestinations — List Stream destinations in a worker group
/v1/m/{groupid}/system/outputs
POST
Createstreamdestination — Create a Stream destination in a worker group
/v1/m/{groupid}/system/outputs

MCP Tools

list-stream-destinations-worker-group

List Stream destinations in a worker group

read-only idempotent
create-stream-destination-worker-group

Create a Stream destination in a worker group

Capability Spec

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