---
title: "Results Related To Log Create"
method: POST
path: "/evaluations/results/related-to-log/{log_id}/"
tags: ["evaluations"]
---

# Results Related To Log Create

`POST /evaluations/results/related-to-log/{log_id}/`

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before
delegating to OrganizationInjectionMixin.post() for org injection.

## Path parameters

- `log_id` string, required

## Headers

- `Authorization` string, required

## Request body

- EvalResultCreateRequest
  - `human_text_value` string
  - `project` string, nullable
  - `eval_result_unique_id` string
  - `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
  - `environment` string
  - `unique_organization_id` string
  - `inputs` unknown
  - `evaluator_slug` string
  - `evaluator_name` string, nullable
  - `scorer` string
  - `workflow_version_id` string
  - `source` string
  - `cost` number, double
  - `evaluation_identifier` string, nullable
  - `log_unique_id` string, nullable
  - `customer_identifier` string, nullable
  - `eval_set_id` string, nullable
  - `log_timestamp` string, date-time, nullable
  - `prompt_version_id` string, nullable
  - `pipeline_run_id` string
  - `automation_id` string, nullable
  - `primary_score` number, double, nullable
  - `string_value` string, nullable
  - `json_value` string
  - `boolean_value` boolean, nullable
  - `categorical_value` string[]
  - `secondary_score` number, double, nullable
  - `tertiary_score` number, double, nullable
  - `quaternary_score` number, double, nullable
  - `score_mapping` unknown
  - `human_numerical_value` number, double, nullable
  - `human_categorical_value` string, nullable
  - `passed` boolean, nullable
  - `status` 'pending' | 'completed' | 'failed' — * `pending` - Pending * `completed` - Completed * `failed` - Failed
  - `error_message` string, nullable
  - `storage_object_key` string
  - `organization` integer, required
  - `evaluation` string, nullable
  - `annotation_config` string, nullable
  - `log` integer, nullable

## Response `201`

- EvalResultCreate
  - `id` integer, required
  - `evaluation_id` string, required
  - `human_text_value` string
  - `project` string, nullable
  - `results_id` integer, required
  - `eval_result_unique_id` string
  - `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
  - `environment` string
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `unique_organization_id` string
  - `inputs` unknown
  - `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_slug` string
  - `evaluator_name` string, nullable
  - `scorer` string
  - `workflow_version_id` string
  - `source` string
  - `cost` number, double
  - `evaluation_identifier` string, nullable
  - `log_unique_id` string, nullable
  - `customer_identifier` string, nullable
  - `eval_set_id` string, nullable
  - `log_timestamp` string, date-time, nullable
  - `prompt_version_id` string, nullable
  - `pipeline_run_id` string
  - `automation_id` string, nullable
  - `primary_score` number, double, nullable
  - `string_value` string, nullable
  - `json_value` string
  - `boolean_value` boolean, nullable
  - `categorical_value` string[]
  - `secondary_score` number, double, nullable
  - `tertiary_score` number, double, nullable
  - `quaternary_score` number, double, nullable
  - `score_mapping` unknown
  - `human_numerical_value` number, double, nullable
  - `human_categorical_value` string, nullable
  - `passed` boolean, nullable
  - `status` 'pending' | 'completed' | 'failed' — * `pending` - Pending * `completed` - Completed * `failed` - Failed
  - `error_message` string, nullable
  - `storage_object_key` string
  - `updated_by` integer, nullable, required
  - `organization` integer, required
  - `evaluation` string, nullable
  - `annotation_config` string, nullable
  - `log` integer, nullable

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c26d550029f8/schema)
