Read the state of the benchmark queues
const url = 'https://gpu-kitchen.example.lan/api/v1/benchmarks/queues';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/queues \ --cookie gpuk_session=<gpuk_session>One queue per template, running or paused, with how many of its benchmarks wait and run. Benchmarks queued outside a template carry no queue; list them with GET /api/v1/benchmarks?status=queued.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Success.
object
object
The template’s exact configuration.
Running or paused; later states may be added.
Benchmarks waiting in this queue.
Benchmarks of this queue running now.
Examplegenerated
{ "queues": [ { "id": 1, "template_id": 1, "template_name": "example", "base_model_key": "example", "gpu_config": "example", "state": "example", "priority_band": "example", "scope": "example", "queued": 1, "running": 1, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z" } ]}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: 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" }}