naftiko: 1.0.0-alpha2 info: label: Coveo Usage Analytics Read API — Users API - Version 15 description: 'Coveo Usage Analytics Read API — Users API - Version 15. 7 operations. Lead operation: Health Check for the Users Service. Self-contained Naftiko capability covering one Coveo business surface.' tags: - Coveo - Usage Analytics Read - Users 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-users-api-version-15 baseUri: https://analytics.cloud.coveo.com/rest/ua description: Coveo Usage Analytics Read API — Users API - Version 15 business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.COVEO_API_KEY}}' resources: - name: v15-users-monitoring-health path: /v15/users/monitoring/health operations: - name: getv15usersmonitoringhealth method: GET description: Health Check for the Users Service outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v15-users-status path: /v15/users/status operations: - name: getv15usersstatus method: GET description: Get the Users Service Status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v15-users-userId path: /v15/users/{userId} operations: - name: getv15usersuserid method: GET description: Get a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: The unique identifier of a user. required: true - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: v15-users-userId-filters path: /v15/users/{userId}/filters operations: - name: getv15usersuseridfilters method: GET description: Get the Data Level Filters That Apply to a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: The unique identifier of a user. required: true - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: includeGroups in: query type: boolean description: Whether to include the values inherited from a user's groups in the response. - name: putv15usersuseridfilters method: PUT description: Set the Filters That Will Be Applied to a User Query outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: The unique identifier of a user. required: true - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: body in: body type: object description: Request body (JSON). required: true - name: v15-users-userId-reports path: /v15/users/{userId}/reports operations: - name: getv15usersuseridreports method: GET description: Get the Reports That a User Can Access outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: The unique identifier of a user. required: true - name: org in: query type: string description: The name of the organization (Coveo Cloud V2 only) - name: includeConfig in: query type: boolean description: Whether to include the detailed configuration of the report in the response. - name: includeGroups in: query type: boolean description: Whether to include the values inherited from a user's groups in the response. - name: putv15usersuseridreports method: PUT description: Set Which Reports a User Can Access outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: The unique identifier of a user. required: true - name: org in: query type: string description: The unique identifier of a user. - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: usage-analytics-read-users-api-version-15-rest port: 8080 description: REST adapter for Coveo Usage Analytics Read API — Users API - Version 15. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v15/users/monitoring/health name: v15-users-monitoring-health description: REST surface for v15-users-monitoring-health. operations: - method: GET name: getv15usersmonitoringhealth description: Health Check for the Users Service call: usage-analytics-read-users-api-version-15.getv15usersmonitoringhealth outputParameters: - type: object mapping: $. - path: /v1/v15/users/status name: v15-users-status description: REST surface for v15-users-status. operations: - method: GET name: getv15usersstatus description: Get the Users Service Status call: usage-analytics-read-users-api-version-15.getv15usersstatus outputParameters: - type: object mapping: $. - path: /v1/v15/users/{userid} name: v15-users-userid description: REST surface for v15-users-userId. operations: - method: GET name: getv15usersuserid description: Get a User call: usage-analytics-read-users-api-version-15.getv15usersuserid with: userId: rest.userId org: rest.org outputParameters: - type: object mapping: $. - path: /v1/v15/users/{userid}/filters name: v15-users-userid-filters description: REST surface for v15-users-userId-filters. operations: - method: GET name: getv15usersuseridfilters description: Get the Data Level Filters That Apply to a User call: usage-analytics-read-users-api-version-15.getv15usersuseridfilters with: userId: rest.userId org: rest.org includeGroups: rest.includeGroups outputParameters: - type: object mapping: $. - method: PUT name: putv15usersuseridfilters description: Set the Filters That Will Be Applied to a User Query call: usage-analytics-read-users-api-version-15.putv15usersuseridfilters with: userId: rest.userId org: rest.org body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v15/users/{userid}/reports name: v15-users-userid-reports description: REST surface for v15-users-userId-reports. operations: - method: GET name: getv15usersuseridreports description: Get the Reports That a User Can Access call: usage-analytics-read-users-api-version-15.getv15usersuseridreports with: userId: rest.userId org: rest.org includeConfig: rest.includeConfig includeGroups: rest.includeGroups outputParameters: - type: object mapping: $. - method: PUT name: putv15usersuseridreports description: Set Which Reports a User Can Access call: usage-analytics-read-users-api-version-15.putv15usersuseridreports with: userId: rest.userId org: rest.org body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: usage-analytics-read-users-api-version-15-mcp port: 9090 transport: http description: MCP adapter for Coveo Usage Analytics Read API — Users API - Version 15. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: health-check-users-service description: Health Check for the Users Service hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.getv15usersmonitoringhealth outputParameters: - type: object mapping: $. - name: get-users-service-status description: Get the Users Service Status hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.getv15usersstatus outputParameters: - type: object mapping: $. - name: get-user description: Get a User hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.getv15usersuserid with: userId: tools.userId org: tools.org outputParameters: - type: object mapping: $. - name: get-data-level-filters-that description: Get the Data Level Filters That Apply to a User hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.getv15usersuseridfilters with: userId: tools.userId org: tools.org includeGroups: tools.includeGroups outputParameters: - type: object mapping: $. - name: set-filters-that-will-be description: Set the Filters That Will Be Applied to a User Query hints: readOnly: false destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.putv15usersuseridfilters with: userId: tools.userId org: tools.org body: tools.body outputParameters: - type: object mapping: $. - name: get-reports-that-user-can description: Get the Reports That a User Can Access hints: readOnly: true destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.getv15usersuseridreports with: userId: tools.userId org: tools.org includeConfig: tools.includeConfig includeGroups: tools.includeGroups outputParameters: - type: object mapping: $. - name: set-which-reports-user-can description: Set Which Reports a User Can Access hints: readOnly: false destructive: false idempotent: true call: usage-analytics-read-users-api-version-15.putv15usersuseridreports with: userId: tools.userId org: tools.org body: tools.body outputParameters: - type: object mapping: $.