v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
Stats

✨ Get label distribution structure

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Returns dimensions and flattened `choice_keys` for a project. Use this response to drive paginated or targeted calls to the label distribution counts endpoint.
get/api/projects/{id}/stats/label-distribution/structure

Path parameters

idinteger required

Response

Label distribution structure

choice_keysstring[] required

All project choice keys in stable order, joined with "PIPE" when passed as query param.