List the GPU configurations and what is free now
const url = 'https://gpu-kitchen.example.lan/api/v1/gpu-configs?alloc_task=local_inference';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/gpu-configs?alloc_task=local_inference' \ --cookie gpuk_session=<gpuk_session>Availability is read for one task (alloc_task, default local_inference) and is advisory: a card can be taken between this answer and a launch.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Success.
object
object
The canonical key, e.g. rtx 3090*2.
Physical GB of each card.
GB the operator reserved for the host system.
GB an engine may use on each card.
Usable GB across the configuration.
object
Available, busy, lower_priority, not_allocated or no_hardware; later states may be added.
A setting the operator could lift: bench_clock, vram_reserved or vram_system.
object
Examplegenerated
{ "gpu_configs": [ { "gpu_config": "example", "label": "example", "gpu_model": "example", "compute_capability": "example", "manufacturer": "example", "gpu_count": 1, "vram_per_gpu": 1, "reserved_vram_per_gpu": 1, "usable_vram_per_gpu": 1, "total_vram": 1, "availability": { "status": "example", "free_slots": 1, "total_slots": 1, "blocked_by": "example", "nodes": [ { "node_id": "example", "free_slots": 1, "total_slots": 1 } ] } } ]}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: 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" }}