Menu
Validate Pipeline Operation
Validate a single pipeline operation.
POST
/rest/search/v1/admin/pipelines/validateUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Validate Pipeline Operation action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{validatePipelineOperation.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"operation": {
"operationType": "CREATE",
"model": {
"name": "Community",
"aduiConfig": {
"tooltipsDismissed": [
{
"id": "string"
}
]
},
"apiKeysThatCanEdit": [
{
"id": "string"
}
],
"condition": {
"id": "45a7892e-a63f-4c8e-8795-ab38c8c18d7e"
},
"description": "Provide contextually relevant query recommendations/results to Community site users.",
"groupsThatCanEdit": [
{
"id": "string"
}
],
"interfaceUrls": [
{
"url": "www.acme.com"
}
],
"isDefault": false,
"splitTestEnabled": false,
"splitTestName": "Community VS default",
"splitTestRatio": 0.5,
"splitTestTarget": "22a3860e-fa6f-4e64-a9f1-ef738af0786e"
},
"resourceId": "id"
}
}
Response
Returns 200 with an object. Read it in later steps with {{validatePipelineOperation.response.data.<field>}}.
{
"result": {
"operationType": "CREATE",
"operationValid": true,
"resourceId": "id",
"validationErrors": "Access Denied. You don't have the required privileges to perform this operation."
}
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?