naftiko: 1.0.0-alpha2 info: label: Coveo Machine Learning Configuration API — Predictive Query Suggest Configuration description: 'Coveo Machine Learning Configuration API — Predictive Query Suggest Configuration. 1 operations. Lead operation: Create PQS Model Resources. Self-contained Naftiko capability covering one Coveo business surface.' tags: - Coveo - Machine Learning Configuration - Predictive Query Suggest Configuration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COVEO_API_KEY: COVEO_API_KEY capability: consumes: - type: http namespace: ml-config-predictive-query-suggest-configuration baseUri: https://platform.cloud.coveo.com description: Coveo Machine Learning Configuration API — Predictive Query Suggest Configuration business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.COVEO_API_KEY}}' resources: - name: rest-organizations-organizationId-machinelearning-configuration-pqs-model path: /rest/organizations/{organizationId}/machinelearning/configuration/pqs/model operations: - name: createmodel method: POST description: Create PQS Model Resources outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: path type: string description: The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3` required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: ml-config-predictive-query-suggest-configuration-rest port: 8080 description: REST adapter for Coveo Machine Learning Configuration API — Predictive Query Suggest Configuration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/machinelearning/configuration/pqs/model name: rest-organizations-organizationid-machinelearning-configuration-pqs-model description: REST surface for rest-organizations-organizationId-machinelearning-configuration-pqs-model. operations: - method: POST name: createmodel description: Create PQS Model Resources call: ml-config-predictive-query-suggest-configuration.createmodel with: organizationId: rest.organizationId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ml-config-predictive-query-suggest-configuration-mcp port: 9090 transport: http description: MCP adapter for Coveo Machine Learning Configuration API — Predictive Query Suggest Configuration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-pqs-model-resources description: Create PQS Model Resources hints: readOnly: false destructive: false idempotent: false call: ml-config-predictive-query-suggest-configuration.createmodel with: organizationId: tools.organizationId body: tools.body outputParameters: - type: object mapping: $.