naftiko: 1.0.0-alpha2 info: label: Whatfix API — Reports description: 'Whatfix API — Reports. 1 operations. Lead operation: Get Most Popular Flows Report. Self-contained Naftiko capability covering one Whatfix business surface.' tags: - Whatfix - Reports created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WHATFIX_API_KEY: WHATFIX_API_KEY capability: consumes: - type: http namespace: whatfix-reports baseUri: https://whatfix.com/api/v1 description: Whatfix API — Reports business capability. Self-contained, no shared references. resources: - name: accountId-reports-summary-mostPopularFlows path: /{accountId}/reports/summary/mostPopularFlows operations: - name: getmostpopularflows method: GET description: Get Most Popular Flows Report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: format in: query type: string description: Output format. authentication: type: apikey key: x-whatfix-integration-key value: '{{env.WHATFIX_API_KEY}}' placement: header exposes: - type: rest namespace: whatfix-reports-rest port: 8080 description: REST adapter for Whatfix API — Reports. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{accountid}/reports/summary/mostpopularflows name: accountid-reports-summary-mostpopularflows description: REST surface for accountId-reports-summary-mostPopularFlows. operations: - method: GET name: getmostpopularflows description: Get Most Popular Flows Report call: whatfix-reports.getmostpopularflows with: format: rest.format outputParameters: - type: object mapping: $. - type: mcp namespace: whatfix-reports-mcp port: 9090 transport: http description: MCP adapter for Whatfix API — Reports. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-most-popular-flows-report description: Get Most Popular Flows Report hints: readOnly: true destructive: false idempotent: true call: whatfix-reports.getmostpopularflows with: format: tools.format outputParameters: - type: object mapping: $.