Menu
Validate Statements Operations V2
Validate a batch of statement operations.
POST
/rest/search/v2/admin/pipelines/{pipelineId}/statements/validate/batchUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Validate Statements Operations V2 action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{validateStatementsOperationsV2.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"operations": [
{
"model": {},
"operationType": "CREATE"
},
{
"model": {},
"operationType": "UPDATE",
"resourceId": "resource-id"
},
{
"operationType": "DELETE",
"resourceId": "resource-id"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{validateStatementsOperationsV2.response.data.<field>}}.
{
"results": [
{
"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?