younifyd
Menu

Bulk Update Ranking Rules

Bulk update for result ranking rules in a pipeline

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

Use it in a workflow

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

Request body

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

rankingRulesarray<object>required
idstringrequired

The unique identifier of the result ranking rule.

rankingRuleoneOfrequired
json
{
  "rankingRules": [
    {
      "id": "string",
      "rankingRule": null
    }
  ]
}

Response

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

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