Get Generated Benchmark Data
General
Get Generated Benchmark Data
Retrieve complete benchmark data with all questions and answers.
This endpoint returns the full benchmark dataset including all questions, expected answers, and metadata. Use this to access the complete benchmark content for evaluation or review.
Path Parameters:
id: Unique benchmark identifier
Returns:
benchmark_id: Benchmark identifierbenchmark_name: Name of the benchmarkstatus: Benchmark statusdocument_ids: List of document IDs (single-element array for uploaded benchmarks, multiple elements for generated benchmarks)num_questions: Total number of questionsquestions: Full list of benchmark questions with answerscreated_at: Creation timestampupdated_at: Last update timestamp
Raises:
404: If benchmark not found or user doesn’t have access
Example Request:
GET /api/v3/benchmark/benchmark-abc123/data
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"benchmark_id": "benchmark-abc123",
"benchmark_name": "Customer Support Q&A",
"status": "READY",
"document_ids": ["doc-123", "doc-456"],
"num_questions": 2,
"questions": [
{
"question_num": 1,
"question": "What is the main purpose of the product?",
"answer": "To provide real-time collaboration tools for distributed teams."
},
{
"question_num": 2,
"question": "How does the authentication system work?",
"answer": "Uses OAuth 2.0 with JWT tokens for secure authentication."
}
],
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:32:45Z"
}
Notes:
- Only returns benchmarks owned by the user
- Contains complete question and answer data for evaluation
- Use this endpoint when you need the full benchmark content (not just metadata)