Get the content fields that a model can use for the specified parameters.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. | ||||||
object (CaseExtractionPeriodModel) The period during which the cases will be extracted. | |||||||
Array of objects (CaseFilterConditionModel) The custom filter conditions for the cases. | |||||||
Array
| |||||||
languageField | string The field used to identify the language. | ||||||
sources | Array of strings The names of the sources that contain the cases. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "caseExtractionPeriod": {
- "dateField": "sfdate",
- "endTime": 1098908390000,
- "exportPeriod": "P6M",
- "startTime": 1098908390000
}, - "caseFilterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "languageField": "language",
- "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
fieldName required | string Example: author Name of the field |
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. | ||||||
object (CaseExtractionPeriodModel) The period during which the cases will be extracted. | |||||||
Array of objects (CaseFilterConditionModel) The custom filter conditions for the cases. | |||||||
Array
| |||||||
languageField | string The field used to identify the language. | ||||||
sources | Array of strings The names of the sources that contain the cases. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "caseExtractionPeriod": {
- "dateField": "sfdate",
- "endTime": 1098908390000,
- "exportPeriod": "P6M",
- "startTime": 1098908390000
}, - "caseFilterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "languageField": "language",
- "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
fieldName required | string Example: author Name of the field |
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. | ||||||
object (CaseExtractionPeriodModel) The period during which the cases will be extracted. | |||||||
Array of objects (CaseFilterConditionModel) The custom filter conditions for the cases. | |||||||
Array
| |||||||
languageField | string The field used to identify the language. | ||||||
sources | Array of strings The names of the sources that contain the cases. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "caseExtractionPeriod": {
- "dateField": "sfdate",
- "endTime": 1098908390000,
- "exportPeriod": "P6M",
- "startTime": 1098908390000
}, - "caseFilterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "languageField": "language",
- "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Shows the number of support cases that match the Case Classification (CC) requirements in the targeted sources.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. | ||||||
object (CaseExtractionPeriodModel) The period during which the cases will be extracted. | |||||||
Array of objects (CaseFilterConditionModel) The custom filter conditions for the cases. | |||||||
Array
| |||||||
languageField | string The field used to identify the language. | ||||||
sources | Array of strings The names of the sources that contain the cases. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "caseExtractionPeriod": {
- "dateField": "sfdate",
- "endTime": 1098908390000,
- "exportPeriod": "P6M",
- "startTime": 1098908390000
}, - "caseFilterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "languageField": "language",
- "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Fetch the model corresponding to the specified model ID.
{"owner":"COVEO_ML","targetDomain":"MODELS","type":"VIEW","targetId":"*"}
modelId required | string Example: My_Model_ID The unique identifier of the target machine learning model. |
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
Lists the organization models corresponding to the specified engine IDs.
{"owner":"COVEO_ML","targetDomain":"MODELS","type":"VIEW","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
engineIds | Array of strings Example: engineIds=topclicks, querysuggest The engine identifiers of the machine learning models to request. |
Lists the organization models corresponding to the specified IDs.
{"owner":"COVEO_ML","targetDomain":"MODELS","type":"VIEW","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
displayNameAndRegistrationIdFilter | string |
engineIds | Array of strings |
projectId | string |
registrationIds | Array of strings unique |
{- "displayNameAndRegistrationIdFilter": "string",
- "engineIds": [
- "string"
], - "projectId": "string",
- "registrationIds": [
- "string"
]
}
Creates resources for a Predictive Query Suggest (PQS) model.
{"owner":"COVEO_ML","targetDomain":"MODELS","type":"CREATE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
catalogId required | string The unique identifier of the catalog to be used by the model to infer personalized suggestions based on product vectors. |
modelDisplayName required | string The model display name in the Coveo Administration console. |
trackingIds required | Array of strings The trackingIds that usage analytics events must contain for the model to use those events in its learning process. The model will use an event if it contains at least one of the specified IDs |
commonFilter | string The filter to apply to the ’Common’ event dimensions (shared by all event types) of the UA data to learn from when rebuilding the model. See Usge Analytics Read Filter Syntax. |
exportPeriod | string The period of UA data to learn from when rebuilding the model. The |
intervalTime | integer <int32> Value: null The number of Must be greater than or equal to |
intervalUnit | string Value: "DAY,WEEK,MONTH" The duration unit to use when interpreting the rebuild |
modelId | string The unique identifier of the target machine learning model. |
searchEventFilter | string The filter to apply to the ‘Click’ and ‘Search’ event dimensions of the UA data to learn from when rebuilding the model. See Usge Analytics Read Filter Syntax. |
{- "catalogId": "catalogId",
- "commonFilter": "(originlevel1 == \"My Hub\")",
- "exportPeriod": "P1M",
- "intervalTime": 1,
- "intervalUnit": "WEEK",
- "modelDisplayName": "MyModelDisplayName",
- "modelId": "My_Model_ID",
- "searchEventFilter": "(originlevel1 == \"My Hub\")",
- "trackingIds": [
- "sport"
]
}
Lists the organization associations corresponding to the specified pipelineId.
{"owner":"SEARCH_API","targetDomain":"QUERY_PIPELINE","type":"VIEW","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
pipelineId required | string |
page | integer <int32> Default: 0 The 0-based number of the page of results to list. |
pageSize | integer <int32> Default: 100 The maximum number of results to include per page. |
Show how many documents matching various RGA requirements are in the selection.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. |
Array of objects (FilterConditionModel) The custom filter conditions to target specific documents. | |
sources | Array of strings The names of the sources containing the items that the model should use to extract chunks. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "filterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Show how many documents matching various SE requirements are in the selection.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. |
Array of objects (FilterConditionModel) The custom filter conditions to target specific documents. | |
sources | Array of strings The names of the sources containing the items that the model should use to extract chunks. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "filterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Get the content fields that a model can use for a given document type.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. |
documentType | string The document types for which content is in custom index fields. |
Array of objects (FilterConditionModel) The custom filter conditions to target specific documents. | |
sources | Array of strings The names of the sources containing the items that the model should use to extract snippets. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "documentType": "SupportArticle",
- "filterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Get the document types available for a Smart Snippets (SS) model to use.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. |
Array of objects (FilterConditionModel) The custom filter conditions to target specific documents. | |
sources | Array of strings The names of the sources containing the items that the model should use to extract snippets. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "filterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}
Show how many documents matching SS requirements are in the sources.
{"owner":"COVEO_ML","targetDomain":"ALLOW_CONTENT_PREVIEW","type":"ENABLE","targetId":"*"}
organizationId required | string Example: mycoveocloudv2organizationg8tp8wu3 The unique identifier of the target organization. |
advancedQuery | string The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc. |
Array of objects (FilterConditionModel) The custom filter conditions to target specific documents. | |
sources | Array of strings The names of the sources containing the items that the model should use to extract snippets. |
{- "advancedQuery": "@source==(\"My source\") AND @permanentid AND @language=\"English\"",
- "filterConditions": [
- {
- "field": "author",
- "operator": "EQUALS",
- "value": "John Smith"
}
], - "sources": [
- "CommunityArticles",
- "SalesforceCatalog"
]
}