naftiko: 1.0.0-alpha2 info: label: RingCentral API — Business Analytics description: 'RingCentral API — Business Analytics. 2 operations. Lead operation: Calls Aggregation Data. Self-contained Naftiko capability covering one Ringcentral business surface.' tags: - Ringcentral - Business Analytics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RINGCENTRAL_API_KEY: RINGCENTRAL_API_KEY capability: consumes: - type: http namespace: platform-business-analytics baseUri: https://platform.ringcentral.com description: RingCentral API — Business Analytics business capability. Self-contained, no shared references. resources: - name: analytics-calls-v1-accounts-accountId-aggregation-fetch path: /analytics/calls/v1/accounts/{accountId}/aggregation/fetch operations: - name: analyticscallsaggregationfetch method: POST description: Calls Aggregation Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: integer description: The current page number (positive numbers only) - name: perPage in: query type: integer description: Number of records displayed on a page (positive numbers only, max value of 200) - name: body in: body type: object description: Request body (JSON). required: true - name: analytics-calls-v1-accounts-accountId-timeline-fetch path: /analytics/calls/v1/accounts/{accountId}/timeline/fetch operations: - name: analyticscallstimelinefetch method: POST description: Calls Timeline Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: interval in: query type: string description: Aggregation interval required: true - name: page in: query type: integer description: The current page number (positive numbers only) - name: perPage in: query type: integer description: Number of records displayed on a page (positive numbers only, max value of 20) - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.RINGCENTRAL_API_KEY}}' exposes: - type: rest namespace: platform-business-analytics-rest port: 8080 description: REST adapter for RingCentral API — Business Analytics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/calls/v1/accounts/{accountid}/aggregation/fetch name: analytics-calls-v1-accounts-accountid-aggregation-fetch description: REST surface for analytics-calls-v1-accounts-accountId-aggregation-fetch. operations: - method: POST name: analyticscallsaggregationfetch description: Calls Aggregation Data call: platform-business-analytics.analyticscallsaggregationfetch with: page: rest.page perPage: rest.perPage body: rest.body outputParameters: - type: object mapping: $. - path: /v1/analytics/calls/v1/accounts/{accountid}/timeline/fetch name: analytics-calls-v1-accounts-accountid-timeline-fetch description: REST surface for analytics-calls-v1-accounts-accountId-timeline-fetch. operations: - method: POST name: analyticscallstimelinefetch description: Calls Timeline Data call: platform-business-analytics.analyticscallstimelinefetch with: interval: rest.interval page: rest.page perPage: rest.perPage body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-business-analytics-mcp port: 9090 transport: http description: MCP adapter for RingCentral API — Business Analytics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: calls-aggregation-data description: Calls Aggregation Data hints: readOnly: false destructive: false idempotent: false call: platform-business-analytics.analyticscallsaggregationfetch with: page: tools.page perPage: tools.perPage body: tools.body outputParameters: - type: object mapping: $. - name: calls-timeline-data description: Calls Timeline Data hints: readOnly: false destructive: false idempotent: false call: platform-business-analytics.analyticscallstimelinefetch with: interval: tools.interval page: tools.page perPage: tools.perPage body: tools.body outputParameters: - type: object mapping: $.