v3

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

Results Related To Log Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/evaluations/results/related-to-log/{log_id}/

Path parameters

log_idstring required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

version_idstring
idstring
versioninteger
is_read_onlyboolean
version_descriptionstring
evaluator_slugstring
namestring
unique_organization_idstring nullable
descriptionstring
{"stackTrail":"components:schemas:PatchedEvalWithResultsRequest:properties:score_config","oasType":"schema","type":"unknown","description":"Any type"}
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
custom_required_fieldsstring[]
starredboolean
organizationinteger nullable
projectstring nullable

Response

version_idstring
eval_class'ragas_faithfulness' | 'ragas_noise_sensitivity' | 'ragas_response_relevancy' | 'ragas_answer_relevancy' | 'ragas_context_precision' | 'ragas_context_recall' | 'ragas_context_entity_recall' | 'ragas_factual_correctness' | 'ragas_semantic_similarity' | 'ragas_non_llm_string_similarity' | 'ragas_non_llm_string_presence' | 'ragas_non_llm_exact_match' | 'relari_llm_based_custom_metric' | 'relari_llm_based_answer_correctness' | 'keywordsai_custom_evaluator' | 'keywordsai_custom_llm' | 'output_char_count' | 'output_word_count' | 'custom_code' required
  • ragas_faithfulness - ragas_faithfulness
  • ragas_noise_sensitivity - ragas_noise_sensitivity
  • ragas_response_relevancy - ragas_response_relevancy
  • ragas_answer_relevancy - ragas_answer_relevancy
  • ragas_context_precision - ragas_context_precision
  • ragas_context_recall - ragas_context_recall
  • ragas_context_entity_recall - ragas_context_entity_recall
  • ragas_factual_correctness - ragas_factual_correctness
  • ragas_semantic_similarity - ragas_semantic_similarity
  • ragas_non_llm_string_similarity - ragas_non_llm_string_similarity
  • ragas_non_llm_string_presence - ragas_non_llm_string_presence
  • ragas_non_llm_exact_match - ragas_non_llm_exact_match
  • relari_llm_based_custom_metric - relari_llm_based_custom_metric
  • relari_llm_based_answer_correctness - relari_llm_based_answer_correctness
  • keywordsai_custom_evaluator - keywordsai_custom_evaluator
  • keywordsai_custom_llm - keywordsai_custom_llm
  • output_char_count - output_char_count
  • output_word_count - output_word_count
  • custom_code - custom_code
evaluation_idstring required
results_idinteger required
resultsstring required
required_fieldsstring required
passedboolean required
human_numerical_valuenumber double required
human_categorical_valuestring required
human_text_valuestring required
idstring
versioninteger
is_read_onlyboolean
version_descriptionstring
evaluator_slugstring
namestring required
unique_organization_idstring nullable
descriptionstring
created_atstring date-time required
updated_atstring date-time required
{"stackTrail":"components:schemas:EvalWithResults:properties:score_config","oasType":"schema","type":"unknown","description":"Any type"}
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
custom_required_fieldsstring[]
starredboolean
organizationinteger nullable
projectstring nullable