younifyd
Menu

Move Query Pipeline Statement V2

Move query pipeline statement

PUT/rest/search/v2/admin/pipelines/{pipelineId}/statements/{statementId}/move

Use it in a workflow

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

Request

Path parameters

pipelineIdstringrequired

The unique identifier of the target query pipeline.

statementIdstringrequired

The unique identifier of the target statement.

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.

Request body

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

afterstring

The unique identifier of the statement after which to move this statement in the target query pipeline. Use either this property or the `position` property (not both) to move this statement.

pageSizeinteger (int32)

> This parameter is exposed for backward compatibility reasons only.

positioninteger (int32)

The 1-based position of this statement relative to other statements in the target query pipeline. Use either this property or the `after` property (not both) to move this statement.

json
{
  "after": "0befc717-dfd7-4962-9b85-28f5c26fd23b",
  "pageSize": 0,
  "position": 0
}

Response

Returns 200 with a array<object>. Read it in later steps with {{moveQueryPipelineStatementV2.response.data.<field>}}.

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

Move Query Pipeline Statement V2 — Coveo — Documentation