naftiko: 1.0.0-alpha2 info: label: Cribl Stream API — Sources description: 'Cribl Stream API — Sources. 2 operations. Lead operation: List Stream sources in a worker group. Self-contained Naftiko capability covering one Cribl business surface.' tags: - Cribl - Sources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CRIBL_API_KEY: CRIBL_API_KEY capability: consumes: - type: http namespace: stream-sources baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1 description: Cribl Stream API — Sources business capability. Self-contained, no shared references. resources: - name: m-groupId-system-sources path: /m/{groupId}/system/sources operations: - name: liststreamsources method: GET description: List Stream sources in a worker group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createstreamsource method: POST description: Create a Stream source 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-sources-rest port: 8080 description: REST adapter for Cribl Stream API — Sources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/m/{groupid}/system/sources name: m-groupid-system-sources description: REST surface for m-groupId-system-sources. operations: - method: GET name: liststreamsources description: List Stream sources in a worker group call: stream-sources.liststreamsources outputParameters: - type: object mapping: $. - method: POST name: createstreamsource description: Create a Stream source in a worker group call: stream-sources.createstreamsource with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: stream-sources-mcp port: 9090 transport: http description: MCP adapter for Cribl Stream API — Sources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-stream-sources-worker-group description: List Stream sources in a worker group hints: readOnly: true destructive: false idempotent: true call: stream-sources.liststreamsources outputParameters: - type: object mapping: $. - name: create-stream-source-worker-group description: Create a Stream source in a worker group hints: readOnly: false destructive: false idempotent: false call: stream-sources.createstreamsource with: body: tools.body outputParameters: - type: object mapping: $.