v3

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

Results 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/{id}/

Path parameters

idinteger required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

human_text_valuestring
projectstring nullable
eval_result_unique_idstring
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
environmentstring
unique_organization_idstring
evaluator_slugstring
evaluator_namestring nullable
scorerstring
workflow_version_idstring
sourcestring
costnumber double
evaluation_identifierstring nullable
log_unique_idstring nullable
customer_identifierstring nullable
eval_set_idstring nullable
log_timestampstring date-time nullable
prompt_version_idstring nullable
pipeline_run_idstring
automation_idstring nullable
primary_scorenumber double nullable
string_valuestring nullable
json_valuestring
boolean_valueboolean nullable
categorical_valuestring[]
secondary_scorenumber double nullable
tertiary_scorenumber double nullable
quaternary_scorenumber double nullable
{"stackTrail":"components:schemas:PatchedEvalResultDetailRequest:properties:score_mapping","oasType":"schema","type":"unknown","description":"Any type"}
human_numerical_valuenumber double nullable
human_categorical_valuestring nullable
passedboolean nullable
status'pending' | 'completed' | 'failed'
  • pending - Pending
  • completed - Completed
  • failed - Failed
error_messagestring nullable
storage_object_keystring
organizationinteger
evaluationstring nullable
annotation_configstring nullable
loginteger nullable

Response

idstring required
evaluation_idstring required
human_text_valuestring
projectstring nullable
resultsstring required
results_idinteger required
inputsstring required
eval_result_unique_idstring
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
environmentstring
created_atstring date-time required
updated_atstring date-time required
unique_organization_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
evaluator_slugstring
evaluator_namestring nullable
scorerstring
workflow_version_idstring
sourcestring
costnumber double
evaluation_identifierstring nullable
log_unique_idstring nullable
customer_identifierstring nullable
eval_set_idstring nullable
log_timestampstring date-time nullable
prompt_version_idstring nullable
pipeline_run_idstring
automation_idstring nullable
primary_scorenumber double nullable
string_valuestring nullable
json_valuestring
boolean_valueboolean nullable
categorical_valuestring[]
secondary_scorenumber double nullable
tertiary_scorenumber double nullable
quaternary_scorenumber double nullable
{"stackTrail":"components:schemas:EvalResultDetail:properties:score_mapping","oasType":"schema","type":"unknown","description":"Any type"}
human_numerical_valuenumber double nullable
human_categorical_valuestring nullable
passedboolean nullable
status'pending' | 'completed' | 'failed'
  • pending - Pending
  • completed - Completed
  • failed - Failed
error_messagestring nullable
storage_object_keystring
updated_byinteger nullable required
organizationinteger required
evaluationstring nullable
annotation_configstring nullable
loginteger nullable