Get task agreement
curl --request GET \
--url https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/agreement \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/agreement"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"task_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"human_human": {
"current": 123,
"pair_count": 123
},
"evaluators_with_humans": {
"current": 123,
"pair_count": 123
},
"evaluators": [
{
"kappa": 123,
"kappa_type": "fleiss",
"kappa_blank_reason": "too_few_items",
"chance_agreement": 123,
"evaluator_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "<string>",
"current": 123,
"pair_count": 123,
"inter_annotator": {
"kappa": 123,
"kappa_type": "fleiss",
"kappa_blank_reason": "too_few_items",
"chance_agreement": 123,
"current": 123,
"pair_count": 123
},
"result": {
"count": 123,
"true_count": 123,
"mean": 123
},
"human_result": {
"count": 123,
"true_count": 123,
"mean": 123
}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Annotation tasks
Get task agreement
Get human-vs-human and human-vs-evaluator agreement metrics for a task
GET
/
annotation-tasks
/
{task_uuid}
/
agreement
Get task agreement
curl --request GET \
--url https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/agreement \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/agreement"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"task_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"human_human": {
"current": 123,
"pair_count": 123
},
"evaluators_with_humans": {
"current": 123,
"pair_count": 123
},
"evaluators": [
{
"kappa": 123,
"kappa_type": "fleiss",
"kappa_blank_reason": "too_few_items",
"chance_agreement": 123,
"evaluator_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"name": "<string>",
"current": 123,
"pair_count": 123,
"inter_annotator": {
"kappa": 123,
"kappa_type": "fleiss",
"kappa_blank_reason": "too_few_items",
"chance_agreement": 123,
"current": 123,
"pair_count": 123
},
"result": {
"count": 123,
"true_count": 123,
"mean": 123
},
"human_result": {
"count": 123,
"true_count": 123,
"mean": 123
}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Path Parameters
Query Parameters
Which date start and end apply to:
row_added: when the row was added to the taskannotator_answered: when the annotator first gave the answer in their latest labelling job. Editing does not change this date
Omit to use row_added
Available options:
row_added, annotator_answered Response
Successful Response