Patronus AI APIAnnotations
Create Annotation Criteria
Creates a new annotation criteria that defines how future annotations should be structured.
POST
/
v1/annotation-criteriaAuthorization
X-API-KEY<token>
In: header
Request Body
application/jsonRequiredproject_idRequiredProject Id
Project this criteria will belong to
Format:
"uuid"nameRequiredName
Unique name for the criteria within the project
Minimum length:
1Maximum length: 100descriptionDescription
Optional description explaining what this criteria measures
annotation_typeRequiredAnnotationCriteriaType
Type of annotation data this criteria will collect
Value in:
"binary" | "continuous" | "discrete" | "categorical" | "text_annotation"categoriesCategories
Category options for discrete/categorical types
resource_typesResource Types
Entity types this criteria can annotate (empty means all types)
Successful Response
