v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
evaluations

Api Annotation Items Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/api/annotation-items/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

idstring
source_idstring
source_type'logs' | 'dataset_logs' | 'threads'
  • logs - Logs
  • dataset_logs - Dataset Logs
  • threads - Threads
source_dataset_idstring nullable
status'pending' | 'processing' | 'paused' | 'completed' | 'failed' | 'cancelled'
  • pending - Pending
  • processing - Processing
  • paused - Paused
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled
evaluator_idsstring[]

List of evaluator IDs that define which scoring criteria the assignee should fill out

completed_atstring date-time nullable

Response

idstring
source_idstring required
source_type'logs' | 'dataset_logs' | 'threads' required
  • logs - Logs
  • dataset_logs - Dataset Logs
  • threads - Threads
source_dataset_idstring nullable
status'pending' | 'processing' | 'paused' | 'completed' | 'failed' | 'cancelled'
  • pending - Pending
  • processing - Processing
  • paused - Paused
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled
evaluator_idsstring[]

List of evaluator IDs that define which scoring criteria the assignee should fill out

created_atstring date-time required
completed_atstring date-time nullable