naftiko: 1.0.0-alpha2 info: label: Couchbase Analytics Service REST API — Analytics Query description: 'Couchbase Analytics Service REST API — Analytics Query. 1 operations. Lead operation: Execute an analytics query. Self-contained Naftiko capability covering one Couchbase business surface.' tags: - Couchbase - Analytics Query created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COUCHBASE_API_KEY: COUCHBASE_API_KEY capability: consumes: - type: http namespace: analytics-service-rest-analytics-query baseUri: https://localhost:8095 description: Couchbase Analytics Service REST API — Analytics Query business capability. Self-contained, no shared references. resources: - name: analytics-service path: /analytics/service operations: - name: executeanalyticsquery method: POST description: Execute an analytics query outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.COUCHBASE_USER}}' password: '{{env.COUCHBASE_PASS}}' exposes: - type: rest namespace: analytics-service-rest-analytics-query-rest port: 8080 description: REST adapter for Couchbase Analytics Service REST API — Analytics Query. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/service name: analytics-service description: REST surface for analytics-service. operations: - method: POST name: executeanalyticsquery description: Execute an analytics query call: analytics-service-rest-analytics-query.executeanalyticsquery with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-service-rest-analytics-query-mcp port: 9090 transport: http description: MCP adapter for Couchbase Analytics Service REST API — Analytics Query. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: execute-analytics-query description: Execute an analytics query hints: readOnly: true destructive: false idempotent: false call: analytics-service-rest-analytics-query.executeanalyticsquery with: body: tools.body outputParameters: - type: object mapping: $.