---
title: "Get Next Item To Label"
method: GET
path: "/api/v1/rankings/{ranking_id}/next-item"
tags: ["Rankings"]
---

# Get Next Item To Label

`GET /api/v1/rankings/{ranking_id}/next-item`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/rankings/{ranking_id}/next-item`
- Auth: none declared

Return one entity to label for a vote_type='binary' ranking.

Used by the single-card frontend view. Picks the entity with the
fewest labels so far so coverage grows uniformly across the set —
the active-learning equivalent for binary mode is "label the
least-labelled item next." Ties broken by created_at so creators
see their newest entities surface as labelling progresses.

## Path parameters

- `ranking_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
