---
title: "Get task label distribution"
method: GET
path: "/api/tasks/{id}/agreement/"
tags: ["Tasks"]
---

# Get task label distribution

`GET /api/tasks/{id}/agreement/`

Get aggregated label distribution across all annotations for a task. Returns counts of each label value grouped by control tag. This is an efficient endpoint that avoids N+1 queries.

## Path parameters

- `id` integer, required

## Response `200`

Label distribution data

---

[API](https://skmtc.net/humansignal/apis/label-studio-api.md) · [All operations](https://skmtc.net/humansignal/apis/label-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humansignal/label-studio-api/versions/1b113b8df950/schema)
