Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Update annotation queue

PATCH/v1/private/annotation-queues/{id}Update annotation queue

Update annotation queue by id

Parameters

idstring · uuidpathrequired

Request body

application/json
objectAnnotationQueueUpdate
annotators_per_iteminteger · int32

maximum 1000 · minimum 1

automationobject
Show child attributes
conditionsobject
Show child attributes
groupsarray of objectrequired

maxItems 5 · minItems 0

Show child attributes

maxItems 5 · minItems 0

Show array items
conditionsarray of objectrequired

maxItems 5 · minItems 0

Show child attributes

maxItems 5 · minItems 0

Show array items
operatorstringrequired

one of ">", "<", "="

score_namestringrequired

maxLength 255 · minLength 0

valuenumber · doublerequired
enabledboolean
max_items_in_queueinteger · int32
comments_enabledboolean
descriptionstring
feedback_definition_namesarray of string
Show child attributes
instructionsstring
lock_timeout_secondsinteger · int32

maximum 3600 · minimum 1

namestring

pattern (?s)^\s*(\S.*\S|\S)\s*$

Example request
{
  "annotators_per_item": 0,
  "automation": {
    "conditions": {
      "groups": [
        {
          "conditions": [
            {
              "operator": "<",
              "score_name": "string",
              "value": 0
            }
          ]
        }
      ]
    },
    "enabled": true,
    "max_items_in_queue": 0
  },
  "comments_enabled": true,
  "description": "string",
  "feedback_definition_names": [
    "string"
  ],
  "instructions": "string",
  "lock_timeout_seconds": 0,
  "name": "string"
}

Responses

204No Content
400Bad Requestapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu