For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
EnterpriseQuick Start
API ReferenceTutorials
  • Introduction
    • Getting started
  • API Reference
      • GETGet project import status
      • DELDelete all tasks
      • GETList tasks
      • POSTCreate a new task
      • GETGet task
      • DELDelete task
      • PATCHUpdate task
      • POSTCreate task event
        • GET✨ Get task agreement matrix
LogoLogo
EnterpriseQuick Start
API ReferenceTasksAgreement Matrix

✨ Get task agreement matrix

GET
http://localhost:8000/api/projects/:project_pk/tasks/:task_pk/agreement-matrix
GET
/api/projects/:project_pk/tasks/:task_pk/agreement-matrix
$curl http://localhost:8000/api/projects/1/tasks/1/agreement-matrix \
> -H "Authorization: Token <api_key>"
200Task agreement matrix response
1{
2 "matrix": [
3 [
4 1,
5 0.75,
6 0.5
7 ],
8 [
9 0.75,
10 1,
11 0.6
12 ],
13 [
14 0.5,
15 0.6,
16 1
17 ]
18 ],
19 "users": [
20 {
21 "avatar": null,
22 "email": "annotator1@example.com",
23 "first_name": "John",
24 "id": 1,
25 "initials": "JD",
26 "last_name": "Doe",
27 "username": "annotator1"
28 },
29 {
30 "avatar": null,
31 "email": "annotator2@example.com",
32 "first_name": "Jane",
33 "id": 2,
34 "initials": "JS",
35 "last_name": "Smith",
36 "username": "annotator2"
37 },
38 {
39 "id": "model:v1",
40 "username": "Model v1"
41 }
42 ]
43}
<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 a pairwise agreement matrix between selected participants for a single task, averaged across all active dimensions or a single specified dimension.
Was this page helpful?
Previous

✨ Retrieve SAML2 Settings

Next
Built with
Label Studio Enterprise badge

This endpoint is not available in Label Studio Community Edition. Learn more about Label Studio Enterprise

Returns a pairwise agreement matrix between selected participants for a single task, averaged across all active dimensions or a single specified dimension.

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:
curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Path parameters

project_pkintegerRequired
Project ID
task_pkintegerRequired
Task ID

Query parameters

dimensionintegerOptional
Dimension ID to compute agreement for. If not provided, averages across all active dimensions.
selectionobjectRequired
JSON object specifying which participants to include in the agreement matrix

Response

matrixlist of lists of doubles

Pairwise agreement scores matrix where matrix[i][j] is the agreement between users[i] and users[j]

userslist of maps from strings to any

Expanded participant details (annotators and/or model versions)