Skip to content

List the templates

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

Oldest first; paginated with limit and cursor.

cursor
string
>= 1 characters <= 512 characters
limit
integer
default: 50 >= 1 <= 500

Success.

Media typeapplication/json
object
templates
required
Array<object>
object
id
required
integer
>= -9007199254740991 <= 9007199254740991
name
required
string
name_is_customized
required
boolean
model_id
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
engine_id
required
integer
>= -9007199254740991 <= 9007199254740991
gpu_config
required

[BLD-15] The exact GPU configuration its benchmarks run on: card model × count, e.g. “rtx 3090*2”. It is no requirement: each variation forecasts its own.

string
objective
required
Any of:
string
Allowed values: chat many-users long-documents batch efficiency
params
required
Any of:
object
key
additional properties
request_params
required

The parameters each benchmark request is sent with, and their axes.

object
key
additional properties
notes
required
string | null
task_type
required

What the model does: text-generation, embeddings, image…

string
Allowed values: text-generation embedding reranking classification asr tts speech-to-speech image-generation vision audio-generation video-generation custom
description
required
string | null
fixed_args
required
string | null
max_concurrent_requests
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
own_gpu_count
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
own_vram_per_gpu_gb
required

[BLD-370] The usable VRAM per card an own image needs, in GB; null otherwise.

number | null
vram_per_gpu_gb
required

[BLD-390] The VRAM per GPU a catalog engine’s template allows its recipes, in GB; null for an own image.

number | null
nvlink_condition
required
Any of:
string
Allowed values: with without
own_compute_capability
required

[BLD-370] The lowest compute capability an own image needs, when its author set one.

string | null
declared_plat
required
Any of:
object
kv
required
string
<= 32 characters
options
required
string
<= 8 characters
context
required
integer
> 0 <= 100000000
ram_tier_gb
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
ram_cache_max_gb
required

[VIS-31] The largest size its options give a RAM cache that grows with traffic, in GB; null when it declares none.

number | null
created_at
required
string format: date-time
updated_at
required
string format: date-time
best_single_thread
required

[REG-330] The best speed per user: 1000 / the lowest ITL p50, in tokens/s.

number | null
best_multi_thread
required
number | null
model_name
required
string | null
model_capabilities
required
Array<string>
engine_name
required
string | null
quant_model_ids
required
Any of:
Array<integer>
variations_count
required

The recipes it has materialized.

integer
>= -9007199254740991 <= 9007199254740991
next_cursor
required
string | null
Example
{
"templates": [
{
"objective": "chat",
"task_type": "text-generation",
"nvlink_condition": "with"
}
]
}

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"
}
}