Coveo · Capability

Coveo Usage Analytics Read API — Metrics API - Version 14

Coveo Usage Analytics Read API — Metrics API - Version 14. 4 operations. Lead operation: Get All the Metrics. Self-contained Naftiko capability covering one Coveo business surface.

Run with Naftiko CoveoUsage Analytics ReadMetrics API - Version 14

What You Can Do

GET
Getv14metrics — Get All the Metrics
/v1/v14/metrics
GET
Getv14metricsmonitoringhealth — Health Check for the Metrics Service
/v1/v14/metrics/monitoring/health
GET
Getv14metricsstatus — Get the Metrics Service Status
/v1/v14/metrics/status
GET
Getv14metricsmetricname — Get a Metric
/v1/v14/metrics/{metricname}

MCP Tools

get-all-metrics

Get All the Metrics

read-only idempotent
health-check-metrics-service

Health Check for the Metrics Service

read-only idempotent
get-metrics-service-status

Get the Metrics Service Status

read-only idempotent
get-metric

Get a Metric

read-only idempotent

Capability Spec

usage-analytics-read-metrics-api-version-14.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coveo Usage Analytics Read API — Metrics API - Version 14
  description: 'Coveo Usage Analytics Read API — Metrics API - Version 14. 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 14
  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-14
    baseUri: https://analytics.cloud.coveo.com/rest/ua
    description: Coveo Usage Analytics Read API — Metrics API - Version 14 business capability. Self-contained, no shared
      references.
    authentication:
      type: bearer
      token: '{{env.COVEO_API_KEY}}'
    resources:
    - name: v14-metrics
      path: /v14/metrics
      operations:
      - name: getv14metrics
        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: v14-metrics-monitoring-health
      path: /v14/metrics/monitoring/health
      operations:
      - name: getv14metricsmonitoringhealth
        method: GET
        description: Health Check for the Metrics Service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v14-metrics-status
      path: /v14/metrics/status
      operations:
      - name: getv14metricsstatus
        method: GET
        description: Get the Metrics Service Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v14-metrics-metricName
      path: /v14/metrics/{metricName}
      operations:
      - name: getv14metricsmetricname
        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-14-rest
    port: 8080
    description: REST adapter for Coveo Usage Analytics Read API — Metrics API - Version 14. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v14/metrics
      name: v14-metrics
      description: REST surface for v14-metrics.
      operations:
      - method: GET
        name: getv14metrics
        description: Get All the Metrics
        call: usage-analytics-read-metrics-api-version-14.getv14metrics
        with:
          org: rest.org
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v14/metrics/monitoring/health
      name: v14-metrics-monitoring-health
      description: REST surface for v14-metrics-monitoring-health.
      operations:
      - method: GET
        name: getv14metricsmonitoringhealth
        description: Health Check for the Metrics Service
        call: usage-analytics-read-metrics-api-version-14.getv14metricsmonitoringhealth
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v14/metrics/status
      name: v14-metrics-status
      description: REST surface for v14-metrics-status.
      operations:
      - method: GET
        name: getv14metricsstatus
        description: Get the Metrics Service Status
        call: usage-analytics-read-metrics-api-version-14.getv14metricsstatus
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v14/metrics/{metricname}
      name: v14-metrics-metricname
      description: REST surface for v14-metrics-metricName.
      operations:
      - method: GET
        name: getv14metricsmetricname
        description: Get a Metric
        call: usage-analytics-read-metrics-api-version-14.getv14metricsmetricname
        with:
          org: rest.org
          metricName: rest.metricName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usage-analytics-read-metrics-api-version-14-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coveo Usage Analytics Read API — Metrics API - Version 14. 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-14.getv14metrics
      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-14.getv14metricsmonitoringhealth
      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-14.getv14metricsstatus
      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-14.getv14metricsmetricname
      with:
        org: tools.org
        metricName: tools.metricName
      outputParameters:
      - type: object
        mapping: $.