younifyd
Menu

Import Query Pipeline Statements V2

Import query pipeline statements

POST/rest/search/v2/admin/pipelines/{pipelineId}/statements/import

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Import Query Pipeline Statements V2 action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{importQueryPipelineStatementsV2.response.data}}.

Request

Path parameters

pipelineIdstringrequired

The unique identifier of the target query pipeline.

Query parameters

featurestring

The query pipeline feature to match. **Allowed values:** `when`, `filter`, `trigger`, `stop`, `thesaurus`, `topClicks`, `querySuggest`, `rankingweight`, `recommendation`, and `queryParamOverride`. By default, results are not required to match a specific query pipeline feature.

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.

Request body

Enter the body as JSON in the step's Body field.

fileNamestring (binary)required
json
{
  "fileName": "string"
}

Response

Returns 204 with a string. Read it in later steps with {{importQueryPipelineStatementsV2.response.data.<field>}}.

Need more? See the Coveo guide for connection setup and behaviour shared by every action.