---
title: "Get Label Distribution"
method: GET
path: "/api/v1/rankings/{ranking_id}/labels"
tags: ["Rankings"]
---

# Get Label Distribution

`GET /api/v1/rankings/{ranking_id}/labels`

## 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}/labels`
- Auth: none declared

Per-entity label distribution + agreement metrics.

Headline view for binary-mode rankings. Returns true_count /
false_count, agreement_rate (max(true,false)/total), Wilson 95% CI
on P(true), and a controversy index that peaks at 50/50 splits.

`sort` modes:
  - controversial (default) — highest disagreement first; what
    creators want to see for triage
  - consensus — clearest signals first (max agreement)
  - recent — newest entities first
  - name — alphabetical

## Path parameters

- `ranking_id` string, required

## Query parameters

- `sort` string
- `limit` integer

## 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)
