---
title: "Rebalances a leaderboard by adding responses for the given participants."
method: POST
path: "/leaderboard/{leaderboardId}/rebalance"
tags: ["Leaderboard"]
---

# Rebalances a leaderboard by adding responses for the given participants.

`POST /leaderboard/{leaderboardId}/rebalance`

## Request

- Base URL: `https://api.rapidata.ai`
- URL: `https://api.rapidata.ai/leaderboard/{leaderboardId}/rebalance`
- Auth: OpenID Connect (`https://auth.rapidata.ai/.well-known/openid-configuration`, scopes: `openid`, `profile`, `email`, `offline_access`, `api`)

Unlike the plain boost, which only generates matchups among the boosted participants,
 this matches each given participant evenly against every other participant of the
 benchmark — the same distribution a participant receives when it is first submitted.
 Use it to bring under-sampled participants up to the rest of the leaderboard.

## Path parameters

- `leaderboardId` string, required

## Request body

- RebalanceLeaderboardEndpointInput
  - `participants` string[], required: The participants of the given leaderboard that should receive responses.
  - `totalResponses` integer, required: The total responses to add, shared evenly across all given participants.
  - `seed` integer, nullable: Optional seed for deterministic matchup selection. Reuse it across a benchmark's leaderboards to align them on the same image pairs; omit for random selection.

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Forbidden

## Changes

- **2026-09-04** `9da534659e5f`: 1 info
  - the security scope `api` was added to the endpoint's security scheme `OpenIdConnect`

[Operation history](https://skmtc.dev/rapidata/apis/rapidata-api/changes/leaderboard/:leaderboardId/rebalance/post.md)

---

[API](https://skmtc.dev/rapidata/apis/rapidata-api.md) - [All operations](https://skmtc.dev/rapidata/apis/rapidata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rapidata/apis/rapidata-api/revisions/004a977d7d9f?raw)
