Update task evaluators
curl --request PUT \
--url https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/evaluators \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"evaluator_ids": [
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
]
}
'import requests
url = "https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/evaluators"
payload = { "evaluator_ids": ["f47ac10b-58cc-4372-a567-0e02b2c3d479"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"message": "Task evaluators updated",
"evaluator_ids": [
"<string>"
],
"linked": [
"<string>"
],
"unlinked": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Annotation tasks
Update task evaluators
Replace a task’s linked evaluators with the given ordered set, linking, unlinking, and reordering as needed
PUT
/
annotation-tasks
/
{task_uuid}
/
evaluators
Update task evaluators
curl --request PUT \
--url https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/evaluators \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"evaluator_ids": [
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
]
}
'import requests
url = "https://api.calibrate.artpark.ai/annotation-tasks/{task_uuid}/evaluators"
payload = { "evaluator_ids": ["f47ac10b-58cc-4372-a567-0e02b2c3d479"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"message": "Task evaluators updated",
"evaluator_ids": [
"<string>"
],
"linked": [
"<string>"
],
"unlinked": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Path Parameters
Body
application/json
The full ordered set of evaluators the task should end up linked to, in display order. Missing ones are unlinked, new ones are linked, and the order sets their position. Send an empty list to unlink all. A task holding tool-call items always keeps one tool-call evaluator, so Tool call correctness is linked back if none is left. Each must be one you created or a built-in default
Example:
["f47ac10b-58cc-4372-a567-0e02b2c3d479"]
Which of evaluator_ids annotators may leave blank. Applied as a whole set, so an ID left out becomes required again. Optional evaluators do not hold a labelling job back from completing. Omit to leave every evaluator as it is
Example:
["f47ac10b-58cc-4372-a567-0e02b2c3d479"]
Response
Successful Response