younifyd
Menu

Create Result Ranking Rule

Create a new result ranking rule

POST/rest/search/v2/admin/pipelines/{pipelineId}/resultRankings

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Create Result Ranking Rule action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{createResultRankingRule.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.

Response

Returns 200 with an object. Read it in later steps with {{createResultRankingRule.response.data.<field>}}.

idstring

The identifier of the result ranking rule

json
{
  "id": "string"
}

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

Create Result Ranking Rule — Coveo — Documentation