naftiko: 1.0.0-alpha2 info: label: Cribl As Code API — Health description: 'Cribl As Code API — Health. 1 operations. Lead operation: Check management plane health. Self-contained Naftiko capability covering one Cribl business surface.' tags: - Cribl - Health created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CRIBL_API_KEY: CRIBL_API_KEY capability: consumes: - type: http namespace: as-code-health baseUri: https://gateway.cribl.cloud description: Cribl As Code API — Health business capability. Self-contained, no shared references. resources: - name: health path: /health operations: - name: getmanagementhealth method: GET description: Check management plane health outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.CRIBL_API_KEY}}' exposes: - type: rest namespace: as-code-health-rest port: 8080 description: REST adapter for Cribl As Code API — Health. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/health name: health description: REST surface for health. operations: - method: GET name: getmanagementhealth description: Check management plane health call: as-code-health.getmanagementhealth outputParameters: - type: object mapping: $. - type: mcp namespace: as-code-health-mcp port: 9090 transport: http description: MCP adapter for Cribl As Code API — Health. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: check-management-plane-health description: Check management plane health hints: readOnly: true destructive: false idempotent: true call: as-code-health.getmanagementhealth outputParameters: - type: object mapping: $.