{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Semantic Encoder 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": "Semantic Encoder Configuration",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Preview for Building an SE Model",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/machinelearning/configuration/semanticencoder/preview",
"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": "Show how many documents matching various SE requirements are in the selection.
Privilege required
\n```\n{\"owner\":\"COVEO_ML\",\"targetDomain\":\"ALLOW_CONTENT_PREVIEW\",\"type\":\"ENABLE\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}