naftiko: 1.0.0-alpha2 info: label: Coveo Usage Analytics Read API — Metrics API - Version 15 description: 'Coveo Usage Analytics Read API — Metrics API - Version 15. 4 operations. Lead operation: Get All the Metrics. Self-contained Naftiko capability covering one Coveo business surface.' tags: - Coveo - Usage Analytics Read - Metrics API - Version 15 created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COVEO_API_KEY: COVEO_API_KEY capability: consumes: - type: http namespace: usage-analytics-read-metrics-api-version-15 baseUri: https://analytics.cloud.coveo.com/rest/ua description: Coveo Usage Analytics Read API — Metrics API - Version 15 business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.COVEO_API_KEY}}' resources: - name: v15-metrics path: /v15/metrics operations: - name: getv15metrics method: GET description: Get All the Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: v15-metrics-monitoring-health path: /v15/metrics/monitoring/health operations: - name: getv15metricsmonitoringhealth method: GET description: Health Check for the Metrics Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v15-metrics-status path: /v15/metrics/status operations: - name: getv15metricsstatus method: GET description: Get the Metrics Service Status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v15-metrics-metricName path: /v15/metrics/{metricName} operations: - name: getv15metricsmetricname method: GET description: Get a Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: metricName in: path type: string description: metricName required: true exposes: - type: rest namespace: usage-analytics-read-metrics-api-version-15-rest port: 8080 description: REST adapter for Coveo Usage Analytics Read API — Metrics API - Version 15. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v15/metrics name: v15-metrics description: REST surface for v15-metrics. operations: - method: GET name: getv15metrics description: Get All the Metrics call: usage-analytics-read-metrics-api-version-15.getv15metrics with: org: rest.org outputParameters: - type: object mapping: $. - path: /v1/v15/metrics/monitoring/health name: v15-metrics-monitoring-health description: REST surface for v15-metrics-monitoring-health. operations: - method: GET name: getv15metricsmonitoringhealth description: Health Check for the Metrics Service call: usage-analytics-read-metrics-api-version-15.getv15metricsmonitoringhealth outputParameters: - type: object mapping: $. - path: /v1/v15/metrics/status name: v15-metrics-status description: REST surface for v15-metrics-status. operations: - method: GET name: getv15metricsstatus description: Get the Metrics Service Status call: usage-analytics-read-metrics-api-version-15.getv15metricsstatus outputParameters: - type: object mapping: $. - path: /v1/v15/metrics/{metricname} name: v15-metrics-metricname description: REST surface for v15-metrics-metricName. operations: - method: GET name: getv15metricsmetricname description: Get a Metric call: usage-analytics-read-metrics-api-version-15.getv15metricsmetricname with: org: rest.org metricName: rest.metricName outputParameters: - type: object mapping: $. - type: mcp namespace: usage-analytics-read-metrics-api-version-15-mcp port: 9090 transport: http description: MCP adapter for Coveo Usage Analytics Read API — Metrics API - Version 15. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-metrics description: Get All the Metrics hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-metrics-api-version-15.getv15metrics with: org: tools.org outputParameters: - type: object mapping: $. - name: health-check-metrics-service description: Health Check for the Metrics Service hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-metrics-api-version-15.getv15metricsmonitoringhealth outputParameters: - type: object mapping: $. - name: get-metrics-service-status description: Get the Metrics Service Status hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-metrics-api-version-15.getv15metricsstatus outputParameters: - type: object mapping: $. - name: get-metric description: Get a Metric hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-metrics-api-version-15.getv15metricsmetricname with: org: tools.org metricName: tools.metricName outputParameters: - type: object mapping: $.