{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Predictive Query Suggest Configuration API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize",
"accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"items": [
{
"info": {
"name": "Predictive Query Suggest Configuration",
"type": "folder"
},
"items": [
{
"info": {
"name": "Create PQS Model Resources",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/pqs/model",
"params": [
{
"name": "organizationId",
"value": "mycoveocloudv2organizationg8tp8wu3",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates resources for a Predictive Query Suggest (PQS) model.
Privilege required
\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"MODELS\",\"type\":\"CREATE\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}