naftiko: 1.0.0-alpha2 info: label: Freshworks Freshcaller API — Call Metrics description: 'Freshworks Freshcaller API — Call Metrics. 1 operations. Lead operation: List call metrics. Self-contained Naftiko capability covering one Freshworks business surface.' tags: - Freshworks - Call Metrics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FRESHWORKS_API_KEY: FRESHWORKS_API_KEY capability: consumes: - type: http namespace: freshcaller-call-metrics baseUri: https://{domain}.freshcaller.com/api/v1 description: Freshworks Freshcaller API — Call Metrics business capability. Self-contained, no shared references. resources: - name: call_metrics path: /call_metrics operations: - name: listcallmetrics method: GET description: List call metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: by_time[from] in: query type: string description: Start of the time range (ISO 8601). - name: by_time[to] in: query type: string description: End of the time range (ISO 8601). authentication: type: apikey key: X-Api-Auth value: '{{env.FRESHWORKS_API_KEY}}' placement: header exposes: - type: rest namespace: freshcaller-call-metrics-rest port: 8080 description: REST adapter for Freshworks Freshcaller API — Call Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/call-metrics name: call-metrics description: REST surface for call_metrics. operations: - method: GET name: listcallmetrics description: List call metrics call: freshcaller-call-metrics.listcallmetrics with: by_time[from]: rest.by_time[from] by_time[to]: rest.by_time[to] outputParameters: - type: object mapping: $. - type: mcp namespace: freshcaller-call-metrics-mcp port: 9090 transport: http description: MCP adapter for Freshworks Freshcaller API — Call Metrics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-call-metrics description: List call metrics hints: readOnly: true destructive: false idempotent: true call: freshcaller-call-metrics.listcallmetrics with: by_time[from]: tools.by_time[from] by_time[to]: tools.by_time[to] outputParameters: - type: object mapping: $.