Retrieve
Get, update, or delete an evaluator's draft version.
GET /api/evaluators/{evaluator_id}/ - Get draft version (is_read_only=False)
PATCH /api/evaluators/{evaluator_id}/ - Update draft version
DELETE /api/evaluators/{evaluator_id}/ - Delete ALL versions
Superadmin: Can READ any evaluator across all organizations via JWT.
Cannot WRITE via JWT - must use API key for write operations.
Regular users: Can only access evaluators in their organization.
NOTE: Queryset filters by is_read_only=False, ensuring unique lookup per evaluator_id.
This allows DRF's standard get_object() to work without manual overrides.
Delete removes ALL versions of the evaluator.
Defense-in-depth:
- SuperAdminMixin: Queryset routing + JWT write protection + object-level ownership
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
evaluator_id
Response
is_public
created_by
updated_by
editor
name
created_at
updated_at
version_id
configurations
categorical_choices
score_config
passing_conditions
llm_config
code_config
project
eval_class
id
version
is_read_only
version_description
evaluator_slug
description
type
llm- Llmcode- Codehuman- Humanfunction- Functionhuman_numerical- Human Numericalhuman_categorical- Human Categoricalhuman_boolean- Human Booleanhuman_text- Human Textcustom- Custom
score_value_type
numerical- Numericalboolean- Booleanpercentage- Percentagesingle_select- Single Selectmulti_select- Multi Selecttext- Textjson- Jsoncomment- Commentcategorical- Categorical
custom_required_fields
starred