Skip to main content
GET
/
api
/
v3
/
benchmark
/
{id}
/
data
Get Benchmark Full
curl --request GET \
  --url https://api.nugen.in/api/v3/benchmark/{id}/data \
  --header 'Authorization: Bearer <token>'
{
  "benchmark_id": "<string>",
  "benchmark_name": "<string>",
  "status": "pending",
  "num_questions": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "source": "<string>",
  "s3_key": "<string>",
  "s3_url": "<string>",
  "documents": [
    "<string>"
  ],
  "questions": [
    {
      "question_num": 123,
      "question": "<string>",
      "answer": "<string>"
    }
  ],
  "metadata": {},
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Successful Response

benchmark_id
string
required

Benchmark ID

benchmark_name
string
required

Name of the benchmark

status
enum<string>
required

Benchmark status

Available options:
pending,
completed,
deploying,
evaluating,
undeployed,
evaluated,
failed
num_questions
integer
required

Total number of questions

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp

source
string
required

Data source: 's3' or 'database'

s3_key
string | null

S3 storage key

s3_url
string | null

S3 download URL

documents
string[]

Document IDs used for generation

questions
BenchmarkQuestion · object[]

Complete list of benchmark questions

metadata
Metadata · object

Additional metadata

error
string | null

Error message if data fetch failed