Read one benchmark
const url = 'https://gpu-kitchen.example.lan/api/v1/benchmarks/1';const options = {method: 'GET', headers: {cookie: 'gpuk_session=<gpuk_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://gpu-kitchen.example.lan/api/v1/benchmarks/1 \ --cookie gpuk_session=<gpuk_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Success.
object
[API-96] A benchmark. A caller who is not an administrator receives no node: node_id is an administrator’s.
object
The recipe as it was when the benchmark was queued.
The exact configuration it must run on.
The configuration it ran on, once started.
The power level it asks for.
The task’s correctness check and its contract version, once it ran.
object
Always null here: GET /api/benchmarks/:id/correctness gives it to an admin.
Whether the closed session reached the hub, or why it stays here. [OBJ-107]
object
Why it is kept here; null otherwise.
[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.
[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.
Queued, delegated, running, completed, partial, failed, cancelled; more may come.
The workload profiles it runs, in order.
Started past a liftable driver verdict by an Owner or Admin (Benchmark anyway).
Example
{ "benchmark": { "power_level": "max", "session": "complete", "publication": { "state": "published" }, "budget_verdict": "ok" }}Error codes: validation_error.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: auth_required.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: forbidden.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: benchmark_not_found.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}