Evaluators Versions Update 2

Full update - only allowed if is_read_only=False.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

evaluator_idstringRequired
versionintegerRequired

Request

This endpoint expects an object.
namestringRequired1-255 characters
idstringOptional1-255 characters
version_idstringOptional1-255 characters
versionintegerOptional-2147483648-2147483647
is_read_onlybooleanOptional
version_descriptionstringOptional
descriptionstringOptional
typeenumOptional
  • 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_typeenumOptional
  • numerical - Numerical
  • boolean - Boolean
  • percentage - Percentage
  • single_select - Single Select
  • multi_select - Multi Select
  • text - Text
  • json - Json
  • comment - Comment
  • categorical - Categorical
score_configmap from strings to anyOptional
passing_conditionsmap from strings to any or nullOptional
llm_configmap from strings to any or nullOptional
code_configmap from strings to any or nullOptional
configurationsmap from strings to anyOptional
categorical_choiceslist of maps from strings to anyOptional
eval_classenumOptional
starredbooleanOptional

Response

namestring<=255 characters
created_atdatetimeRead-only
updated_atdatetimeRead-only
created_byobject
updated_byobject
idstring<=255 characters
version_idstring<=255 characters
versioninteger-2147483648-2147483647
is_read_onlyboolean
version_descriptionstring
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
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
configurationsmap from strings to any
categorical_choiceslist of maps from strings to any
eval_classenum
starredboolean