Skip to main content
GET
/
api
/
v3
/
benchmark
/
status
/
{id}
Get Benchmark Status
curl --request GET \
  --url https://api.nugen.in/api/v3/benchmark/status/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "benchmark-123",
  "benchmark_name": "Customer Support Q&A",
  "status": "pending",
  "start_time": "2024-01-15T10:30:00Z",
  "end_time": "2024-01-15T12:30:00Z"
}

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

Get the status of a benchmark generation task, including current progress, associated documents, and timestamps for task creation and completion

id
string
required

Benchmark id

Example:

"benchmark-123"

benchmark_name
string
required

Name of the benchmark

Example:

"Customer Support Q&A"

status
enum<string>
required

Benchmark status

Available options:
pending,
completed,
deploying,
evaluating,
undeployed,
evaluated,
failed
Example:

"pending"

start_time
string<date-time> | null

Benchmark generation start time

Example:

"2024-01-15T10:30:00Z"

end_time
string<date-time> | null

Benchmark generation end time

Example:

"2024-01-15T12:30:00Z"