naftiko: 1.0.0-alpha2 info: label: GrowthBook REST API — queries description: 'GrowthBook REST API — queries. 1 operations. Lead operation: Get a single query. Self-contained Naftiko capability covering one Growthbook business surface.' tags: - Growthbook - queries created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GROWTHBOOK_API_KEY: GROWTHBOOK_API_KEY capability: consumes: - type: http namespace: growthbook-queries baseUri: https://api.growthbook.io/api description: GrowthBook REST API — queries business capability. Self-contained, no shared references. resources: - name: v1-queries-id path: /v1/queries/{id} operations: - name: getquery method: GET description: Get a single query outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GROWTHBOOK_API_KEY}}' exposes: - type: rest namespace: growthbook-queries-rest port: 8080 description: REST adapter for GrowthBook REST API — queries. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/queries/{id} name: v1-queries-id description: REST surface for v1-queries-id. operations: - method: GET name: getquery description: Get a single query call: growthbook-queries.getquery outputParameters: - type: object mapping: $. - type: mcp namespace: growthbook-queries-mcp port: 9090 transport: http description: MCP adapter for GrowthBook REST API — queries. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-single-query description: Get a single query hints: readOnly: true destructive: false idempotent: true call: growthbook-queries.getquery outputParameters: - type: object mapping: $.