{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Model Listing 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": "Model Listing",
"type": "folder"
},
"items": [
{
"info": {
"name": "List Models",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/modellisting",
"params": [
{
"name": "organizationId",
"value": "mycoveocloudv2organizationg8tp8wu3",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "engineIds",
"value": "topclicks, querysuggest",
"type": "query",
"description": "The engine identifiers of the machine learning models to request."
}
]
},
"docs": "Lists the organization models corresponding to the specified engine IDs.
Privilege required
\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"MODELS\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "List Models",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/modellisting",
"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": "Lists the organization models corresponding to the specified IDs.
Privilege required
\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"MODELS\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}