Pick the V1 Copy Query Pipeline action (under Search).
Fill in the fields below, then reference the result from later steps as {{v1CopyQueryPipeline.response.data}}.
Request
Path parameters
pipelineIdstringrequired
The unique identifier of the target query pipeline.
Query parameters
organizationIdstring
The unique identifier of the target Coveo Cloud organization.
Specifying a value for this parameter is only necessary when you are authenticating the API call with an OAuth2 token.
Returns 200 with an object. Read it in later steps with {{v1CopyQueryPipeline.response.data.<field>}}.
aduiConfigobject
tooltipsDismissedarray<object>1 fields
A list of tooltips that were dismissed by the user.
conditionany
created_bystring
The identifier of the Coveo Cloud platform user who originally created this query pipeline.
descriptionstring
The intended purpose of this query pipeline.
filterstring
A constant query expression to add to all queries routed through this query pipeline.
**Notes:**
- The `filter` expression is added to the constant part of the query expression (`cq`) using an AND operator.
- Avoid including dynamically evaluated values in the `filter` expression, otherwise you risk filling up the cache with useless data.
idstring
The unique identifier of this query pipeline.
interfaceUrlsarray<object>
This option helps better understand the pages where this query pipeline is intended to be used. It won't affect query routing in any way but may be used by Coveo to help you manage your configuration properly.
urlstringrequired
Url of the pages affected by this query pipeline.
isDefaultboolean
Whether this query pipeline is the default query pipeline.
**Note:** There must be one and only one default query pipeline in a Coveo Cloud organization. Therefore, setting `isDefault` to `true` on this query pipeline will automatically set it to `false` in the current default query pipeline as a side effect (assuming, of course, that this query pipeline is not the current default query pipeline).
last_modified_bystring
The identifier of the Coveo Cloud platform user who last modified this query pipeline.
modifiedAtstring (date-time)
The last time this was modified.
modifiedBystring
The identifier of the Coveo Cloud platform user who last modified this.
namestring
Community
positioninteger (int32)
The 0-based position of this query pipeline relative to other query pipelines in this Coveo Cloud organization.
Upon query pipeline creation, a position corresponding to the current highest query pipeline position incremented by one is automatically assigned to the new query pipeline.
You cannot change the position of an existing query pipeline, but you can duplicate/delete query pipelines to achieve a similar result. Note, however, that duplicated query pipelines have distinct `id` values.
Unless a query enforces a specific query pipeline, query pipeline *with conditions* are evaluated sequentially, according to their respective position (from lowest to highest). The query is routed through the first query pipeline whose condition it satisfies. If the query satisfies the condition of no query pipeline, it is routed through the default query pipeline (bypassing its condition, if it has one).
splitTestEnabledboolean
Whether to enable the A/B test.
See also the `splitTestName`, `splitTestTarget`, and `splitTestRatio` properties.
splitTestNamestring
A name which summarizes the intended purpose of the A/B test.
See also the `splitTestTarget`, `splitTestRatio`, and `splitTestEnabled` properties.
splitTestRationumber (double)
The percentage of queries to route through query pipeline B if the A/B test is enabled. Remaining queries will be routed through this query pipeline.
See also the `splitTestName`, `splitTestTarget`, and `splitTestEnabled` properties.
splitTestStartTimestring (date-time)
The date and time when the A/B test was first started.
splitTestTargetstring
The unique identifier of query pipeline B in the A/B test.
See also the `splitTestName`, `splitTestRatio`, and `splitTestEnabled` properties.
useCasestring
The use case for which this query pipeline should apply. This option allows you to categorize your query pipeline and enables Coveo to provide better support and improve the tools we provide.
json
{"id":"120deecf-7822-4d7b-885f-53f184a3a76c","isDefault":false,"name":"Community","position":3,"aduiConfig":{"tooltipsDismissed":[{"id":"string"}]},"condition":null,"created_by":"asmith@example.com","description":"Provide contextually relevant query recommendations/results to Community site users.","filter":"@source==CommunityForum OR @source==CommunityDocumentation","interfaceUrls":[{"url":"www.acme.com"}],"last_modified_by":"bjones@example.com","modifiedAt":"2021-02-16T15:15:17Z"}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.