You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
34192
+
</p>
34193
+
</Card>
34194
+
Returns counts and percentages for requested label choices, from both annotations and predictions. Supports either pagination (`limit`, `offset`) or targeted fetches via explicit `choice_keys`.
34195
+
</dd>
34196
+
</dl>
34197
+
</dd>
34198
+
</dl>
34199
+
34200
+
#### 🔌 Usage
34201
+
34202
+
<dl>
34203
+
<dd>
34204
+
34205
+
<dl>
34206
+
<dd>
34207
+
34208
+
```python
34209
+
from label_studio_sdk import LabelStudio
34210
+
34211
+
client = LabelStudio(
34212
+
api_key="YOUR_API_KEY",
34213
+
)
34214
+
client.projects.stats.label_distribution_counts(
34215
+
id=1,
34216
+
)
34217
+
34218
+
```
34219
+
</dd>
34220
+
</dl>
34221
+
</dd>
34222
+
</dl>
34223
+
34224
+
#### ⚙️ Parameters
34225
+
34226
+
<dl>
34227
+
<dd>
34228
+
34229
+
<dl>
34230
+
<dd>
34231
+
34232
+
**id:** `int`
34233
+
34234
+
</dd>
34235
+
</dl>
34236
+
34237
+
<dl>
34238
+
<dd>
34239
+
34240
+
**choice_keys:** `typing.Optional[str]` — Explicit choice keys to fetch, joined by "___PIPE___" (for example: "label___SEP___pos___PIPE___quality___SEP___4"). When provided, pagination params are ignored.
34241
+
34242
+
</dd>
34243
+
</dl>
34244
+
34245
+
<dl>
34246
+
<dd>
34247
+
34248
+
**limit:** `typing.Optional[int]` — Maximum number of choice keys to return for pagination. Ignored when `choice_keys` is provided.
34249
+
34250
+
</dd>
34251
+
</dl>
34252
+
34253
+
<dl>
34254
+
<dd>
34255
+
34256
+
**offset:** `typing.Optional[int]` — Zero-based offset into the structure `choice_keys` list. Used only when `choice_keys` is not provided.
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
34292
+
</p>
34293
+
</Card>
34294
+
Returns dimensions and flattened `choice_keys` for a project. Use this response to drive paginated or targeted calls to the label distribution counts endpoint.
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
38638
+
</p>
38639
+
</Card>
38640
+
Reset SAML2 settings for the currently active organization. This clears all configured fields (domain, metadata, attribute mappings, group mappings) back to their defaults without deleting the underlying settings record.
0 commit comments