Retrieve all benchmarks for the authenticated user.
This endpoint returns a comprehensive list of all benchmarks created or uploaded by the user, including both generated and manually uploaded benchmarks.
Returns:
benchmarks: List of benchmark objects, each containing:
id: Unique benchmark identifierbenchmark_name: Generated name (format: Benchmark_{document_id})status: Benchmark status (pending, completed, uploaded)documents: List of document IDs used for this benchmarknum_questions: Number of questions in the benchmarkcreated_at: Timestamp when benchmark was createdupdated_at: Timestamp when benchmark was last updatedExample Request:
GET /api/v3/benchmark/list
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"benchmarks": [
{
"id": "task-abc123",
"benchmark_name": "Benchmark_doc-123",
"status": "completed",
"documents": ["doc-123", "doc-456"],
"num_questions": 10,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:32:45Z"
},
{
"id": "benchmark-xyz789",
"benchmark_name": "Benchmark_doc-789",
"status": "uploaded",
"documents": ["doc-789"],
"num_questions": 15,
"created_at": "2024-01-16T14:20:00Z",
"updated_at": "2024-01-16T14:20:00Z"
}
]
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns a list of all benchmarks created or uploaded by the user, including both generated and manually uploaded benchmarks
Response schema for benchmark list endpoint
List of benchmarks