v3

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

Api Evaluators Versions Update

Default PUT handler with automatic organization injection.

Same behavior as patch() - preserves ownership for superadmins, forces user's org for regular users.

put/api/evaluators/{evaluator_id}/versions/

Path parameters

evaluator_idstring required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

idstring
version_idstring
versioninteger
is_read_onlyboolean
version_descriptionstring
namestring required
descriptionstring
type'llm' | 'code' | 'human' | 'function' | 'human_numerical' | 'human_categorical' | 'human_boolean' | 'human_text' | 'custom'
  • 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_type'numerical' | 'boolean' | 'percentage' | 'single_select' | 'multi_select' | 'text' | 'json' | 'comment' | 'categorical'
  • numerical - Numerical
  • boolean - Boolean
  • percentage - Percentage
  • single_select - Single Select
  • multi_select - Multi Select
  • text - Text
  • json - Json
  • comment - Comment
  • categorical - Categorical

Response

idstring
version_idstring
versioninteger
is_read_onlyboolean
version_descriptionstring
namestring required
descriptionstring
type'llm' | 'code' | 'human' | 'function' | 'human_numerical' | 'human_categorical' | 'human_boolean' | 'human_text' | 'custom'
  • 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_type'numerical' | 'boolean' | 'percentage' | 'single_select' | 'multi_select' | 'text' | 'json' | 'comment' | 'categorical'
  • numerical - Numerical
  • boolean - Boolean
  • percentage - Percentage
  • single_select - Single Select
  • multi_select - Multi Select
  • text - Text
  • json - Json
  • comment - Comment
  • categorical - Categorical
created_atstring date-time required