v3

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

Api Annotation Items Create

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.

post/api/annotation-items/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

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

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