Skip to content

List the benchmarks

GET
/api/v1/benchmarks
curl --request GET \
--url 'https://gpu-kitchen.example.lan/api/v1/benchmarks?limit=50' \
--cookie gpuk_session=<gpuk_session>

In queue order when status is queued or running, newest first otherwise; paginated with limit and cursor.

cursor
string
>= 1 characters <= 512 characters
limit
integer
default: 50 >= 1 <= 500
recipe_id
integer
> 0 <= 2147483647
status
string
<= 32 characters

Success.

Media typeapplication/json
object
benchmarks
required
Array<object>

[API-96] A benchmark. A caller who is not an administrator receives no node: node_id is an administrator’s.

object
id
required
integer
>= -9007199254740991 <= 9007199254740991
recipe_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
recipe_snapshot
required

The recipe as it was when the benchmark was queued.

pinned_gpu_config
required

The exact configuration it must run on.

string
gpu_config
required

The configuration it ran on, once started.

string | null
power_level
required

The power level it asks for.

string
Allowed values: max low
session
required
Any of:
string
Allowed values: complete interrupted
correctness_passed
required
boolean | null
correctness_check
required

The task’s correctness check and its contract version, once it ran.

string | null
correctness_trials
required
Any of:
Array<object>
object
id
required
string
passed
required
boolean
detail
required

Always null here: GET /api/benchmarks/:id/correctness gives it to an admin.

string | null
publication
required

Whether the closed session reached the hub, or why it stays here. [OBJ-107]

object
state
required
string
Allowed values: published kept pending
reason
required

Why it is kept here; null otherwise.

string | null
budget_usage_pct
required

[OBJ-121] How much of the VRAM it reserves (its budget, else its card’s usable VRAM) a complete session of a bridable recipe used (%); null when no verdict was made.

number | null
budget_verdict
required
Any of:
string
Allowed values: ok notice no_proof
budget_target_gb
required

[OBJ-121] [GPU-290] Under 70 %: the highest proposed VRAM cap per GPU, below the VRAM reserved, that would bring the usage to 70 %; null otherwise, or when none does.

number | null
budget_places_needed
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
budget_overrun
required
Any of:
object
peak_gb
required

The highest attributed peak on a GPU (GB); null when no GPU memory was read.

number | null
budget_gb
required

The recipe’s VRAM budget per GPU (GB).

number
ram_tier_shortfall
required
Any of:
object
needed_gb
required

The system RAM it held plus the largest cache its options declare (GB).

number
tier_gb
required

The RAM tier its recipe declares (GB).

number
unmeasured
required

True when no profile read its system RAM, so the tier could not be checked.

boolean
status
required

Queued, delegated, running, completed, partial, failed, cancelled; more may come.

string
container_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
error_message
required
string | null
profile_plan
required

The workload profiles it runs, in order.

last_verdict_rung
required
string | null
last_verdict_note
required
string | null
last_verdict_at
required
Any of:
string format: date-time
rebench
required
boolean
rebench_of_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
queue_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
template_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
variation_key
required
string | null
driver_branch
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
force_driver
required

Started past a liftable driver verdict by an Owner or Admin (Benchmark anyway).

boolean
position
required
number
origin
required
string
not_before
required
Any of:
string format: date-time
created_at
required
string format: date-time
started_at
required
Any of:
string format: date-time
completed_at
required
Any of:
string format: date-time
node_id
string | null
next_cursor
required
string | null
Example
{
"benchmarks": [
{
"power_level": "max",
"session": "complete",
"publication": {
"state": "published"
},
"budget_verdict": "ok"
}
]
}

Error codes: validation_error.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: auth_required.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: forbidden.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}

Error codes: rate_limited.

Media typeapplication/json
object
error
required
object
code
required

Stable snake_case code to branch on.

string
message
required

A sentence to show a person.

string
details

Optional structured context.

fix

Optional place where the problem is fixed.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"details": "example",
"fix": "example"
}
}