Evaluators Versions Create 2
Default POST handler with automatic organization injection.
For CREATE operations:
- Superadmins can specify organization_id in request body (API key only)
- Regular users always use their own organization
Override this method for:
- POST-for-filtering pattern (delegate to self.get())
- Custom pre-create validation
Note: ``inject_target_organization`` is a DEPRECATED ``request.data``-mutating
shim kept for backward-compat during the DEV-9410 migration. The blessed
path stamps org via ``get_create_save_kwargs`` → ``perform_create`` → a
``read_only`` serializer field. The shim (and these overrides' reliance on
it) is removed in C18 (DEV-9430) once every view's org field is read_only.
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
evaluator_id
version
Request
This endpoint expects an object.
name
id
version_id
version
is_read_only
version_description
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
score_config
passing_conditions
llm_config
code_config
configurations
categorical_choices
eval_class
starred
Response
name
created_at
updated_at
created_by
updated_by
id
version_id
version
is_read_only
version_description
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
score_config
passing_conditions
llm_config
code_config
configurations
categorical_choices
eval_class
starred