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_idstringRequired

Response

is_publicbooleanRead-only
created_byobject
updated_byobject
editorobject
namestring<=255 characters
created_atdatetimeRead-only
updated_atdatetimeRead-only
version_idstring<=255 characters
configurationsmap from strings to any
categorical_choiceslist of maps from strings to any
score_configmap from strings to any
passing_conditionsmap from strings to any or null
llm_configmap from strings to any or null
code_configmap from strings to any or null
projectstring or null
eval_classstring
idstring<=255 characters
versioninteger-2147483648-2147483647
is_read_onlyboolean
version_descriptionstring
evaluator_slugstring<=255 characters
descriptionstring
typeenum
  • llm - Llm
  • code - Code
  • human - Human
  • function - Function
  • human_numerical - Human Numerical
  • human_categorical - Human Categorical
  • human_boolean - Human Boolean
  • human_text - Human Text
  • custom - Custom
score_value_typeenum
  • numerical - Numerical
  • boolean - Boolean
  • percentage - Percentage
  • single_select - Single Select
  • multi_select - Multi Select
  • text - Text
  • json - Json
  • comment - Comment
  • categorical - Categorical
custom_required_fieldslist of strings
starredboolean