Menu
Update Query Pipeline Statement V1
Update query pipeline statement
PUT
/rest/search/v1/admin/pipelines/{pipelineId}/statements/{statementId}Use it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Update Query Pipeline Statement V1 action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{updateQueryPipelineStatementV1.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"definition": "boost `coveo` by 100",
"feature": "ranking",
"description": "Spotlight the Coveo brand in query results.",
"id": "string",
"parent": "45a7892e-a63f-4c8e-8795-ab38c8c18d7e"
}
Response
Returns 200 with an object. Read it in later steps with {{updateQueryPipelineStatementV1.response.data.<field>}}.
{
"childrenCount": 0,
"definition": "boost `coveo` by 100",
"detailed": null,
"feature": "ranking",
"id": "0befc717-dfd7-4962-9b85-28f5c26fd23b",
"position": 2,
"ready": false,
"condition": null,
"description": "Spotlight the Coveo brand in query results.",
"displayName": "",
"modifiedAt": "2021-02-16T15:15:17Z",
"modifiedBy": "bjones@example.com"
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?