Description
API ReferenceEvaluations

Get Evaluation Result

GET
/v1/evaluation-results/{id}
/v1/evaluation-results/{id}

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Path Parameters

id
Required
Id

curl -X GET "https://api.patronus.ai/v1/evaluation-results/0" \
  -H "X-API-KEY: <token>"

Successful Response

{
  "evaluation_result": {
    "id": "string",
    "log_id": "14b5977f-7a80-40ca-bb79-eca6c2abdb34",
    "app": "string",
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "experiment_id": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "evaluator_id": "string",
    "profile_name": "string",
    "evaluated_model_system_prompt": "string",
    "evaluated_model_retrieved_context": [
      "string"
    ],
    "evaluated_model_input": "string",
    "evaluated_model_output": "string",
    "evaluated_model_gold_answer": "string",
    "evaluated_model_attachments": [
      {
        "url": "string",
        "media_type": "string",
        "usage_type": "string"
      }
    ],
    "explain_strategy": "never",
    "pass": true,
    "score_raw": 0,
    "text_output": "string",
    "additional_info": {
      "positions": [
        null
      ],
      "extra": {},
      "confidence_interval": {
        "strategy": "string",
        "alpha": 0,
        "lower": 0,
        "median": 0,
        "upper": 0
      }
    },
    "evaluation_metadata": {},
    "explanation": "string",
    "evaluation_duration": "string",
    "explanation_duration": "string",
    "evaluation_run_id": 0,
    "evaluator_family": "string",
    "evaluator_profile_public_id": "fe6c9202-ffdf-40e1-8f9b-304d0cb5a8db",
    "evaluated_model_id": "string",
    "evaluated_model_name": "string",
    "evaluated_model_provider": "string",
    "evaluated_model_params": {},
    "evaluated_model_selected_model": "string",
    "dataset_id": "string",
    "dataset_sample_id": 0,
    "tags": {
      "property1": "string",
      "property2": "string"
    },
    "external": true,
    "favorite": true,
    "evaluation_feedback": true,
    "usage_tokens": 0,
    "metric_name": "string",
    "metric_description": "string",
    "evaluation_type": "string",
    "annotation_criteria_id": "e5d4b10b-c239-4b00-9620-5b9e8428bf29",
    "criteria": "string"
  }
}