Skip to main content
GET
/
api
/
v3
/
evaluations
/
{evaluation_id}
/
download
Download Evaluation Results
curl --request GET \
  --url https://api.nugen.in/api/v3/evaluations/{evaluation_id}/download \
  --header 'Authorization: Bearer <token>'
{ "evaluation_id": "eval-xyz789", "status": "COMPLETED", "model_id": "alignment-abc123-deployed", "benchmark_id": "task-def456", "method": "eval", "metrics": { "accuracy": 0.92, "relevance": 0.88, "overall_score": 0.9, "uncertainty": 0.15, "domain_violations": 2 }, "raw_answers_count": 50, "detailed_results": [ { "question_id": "q1", "question": "What is the main purpose of the product?", "expected_answer": "To provide customer support automation", "model_answer": "The main purpose is to provide automated customer support solutions", "score": 0.95, "relevance": 0.92 }, { "question_id": "q2", "question": "How does the pricing work?", "expected_answer": "Monthly subscription based on usage", "model_answer": "Pricing is based on a monthly subscription model", "score": 0.88, "relevance": 0.85 } ], "created_at": "2024-01-15T10:30:00Z", "completed_at": "2024-01-15T10:45:00Z" }

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

evaluation_id
string
required

Response

Successfully returns evaluation results as a downloadable JSON file