Skip to content

List the models

GET
/api/v1/models
curl --request GET \
--url 'https://gpu-kitchen.example.lan/api/v1/models?download_status=pending&limit=50&task_type=text-generation' \
--cookie gpuk_session=<gpuk_session>

Oldest first; paginated with limit and cursor.

cursor
string
>= 1 characters <= 512 characters
download_status
string
Allowed values: pending downloading ready error evicted deleting delete_failed

Only the models in this state, e.g. delete_failed.

limit
integer
default: 50 >= 1 <= 500
task_type
string
Allowed values: text-generation embedding reranking classification asr tts speech-to-speech image-generation vision audio-generation video-generation custom

Only the models serving this task.

Success.

Media typeapplication/json
object
models
required
Array<object>
object
id
required
integer
>= -9007199254740991 <= 9007199254740991
name
required
string
hf_repo
required
string | null
model_version
required
string | null
source
required

Huggingface, modelscope, local…; later sources may be added.

string
architecture
required
string | null
base_weights
required

The weights its quantizations share.

string | null
quantization
required
string | null
quant_selection
required
Any of:
object
group_key
required
string
label
required
string
files
required
Array<string>
weight_bytes
required
number
diffusers_variant
required

The diffusers precision it downloaded.

string | null
parameter_count
required
Any of:
string
/^\d+$/
params_b
required

Billions of parameters.

number | null
context_length
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
num_attention_heads
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
num_key_value_heads
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
max_position_embeddings
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
hidden_size
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
num_hidden_layers
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
torch_dtype
required
string | null
estimated_weight_bytes
required
Any of:
string
/^\d+$/
exact_download_bytes
required
Any of:
string
/^\d+$/
estimated_ram_bytes
required
Any of:
string
/^\d+$/
estimated_vram_bytes
required
Any of:
string
/^\d+$/
task_type
required

What it serves: a task type, other, or null when unknown; the override wins.

string | null
task_type_detected
required
string | null
task_type_override
required
string | null
capabilities
required

What it does within its type; later capabilities may be added.

Array<string>
capabilities_detected
required
Array<string>
capabilities_override
required
Any of:
Array<string>
voices
required
Any of:
Array<string>
voices_read
required
Any of:
Array<string>
download_status
required

Ready, downloading, error, evicted (its last copy was removed to keep a cache under its limit: not a failure, it can be downloaded again), delete_failed (a deletion that stopped)…; later states may be added.

string
download_progress
required
number | null
download_error
required
string | null
download_error_fix
required

The fix-target key of download_error, when its failure named the place that cures it.

string | null
local_path
required
string | null
is_private
required

Its weights never leave the cluster.

boolean
has_manifest
required
boolean
manifest_root
required
string | null
redownloadable
required

Whether a set-up model provider can download it again; false: its last copy is never evicted.

boolean
copy_source_available
required

Whether a copy of its weights can be fetched somewhere (advisory).

boolean
worker_downloadable
required

Whether a worker can download it itself.

boolean
staged
required

Whether its exact version is held on this cluster: only then can a new recipe be made on it.

boolean
last_launched_at
required
Any of:
string format: date-time
evicted_at
required
Any of:
string format: date-time
node_launches
required

When one of its recipes last started on each node that ran it.

Array<object>
object
node_id
required
string
last_launched_at
required
string format: date-time
created_at
required
string format: date-time
next_cursor
required
string | null
Examplegenerated
{
"models": [
{
"id": 1,
"name": "example",
"hf_repo": "example",
"model_version": "example",
"source": "example",
"architecture": "example",
"base_weights": "example",
"quantization": "example",
"quant_selection": {
"group_key": "example",
"label": "example",
"files": [
"example"
],
"weight_bytes": 1
},
"diffusers_variant": "example",
"parameter_count": "example",
"params_b": 1,
"context_length": 1,
"num_attention_heads": 1,
"num_key_value_heads": 1,
"max_position_embeddings": 1,
"hidden_size": 1,
"num_hidden_layers": 1,
"torch_dtype": "example",
"estimated_weight_bytes": "example",
"exact_download_bytes": "example",
"estimated_ram_bytes": "example",
"estimated_vram_bytes": "example",
"task_type": "example",
"task_type_detected": "example",
"task_type_override": "example",
"capabilities": [
"example"
],
"capabilities_detected": [
"example"
],
"capabilities_override": [
"example"
],
"voices": [
"example"
],
"voices_read": [
"example"
],
"download_status": "example",
"download_progress": 1,
"download_error": "example",
"download_error_fix": "example",
"local_path": "example",
"is_private": true,
"has_manifest": true,
"manifest_root": "example",
"redownloadable": true,
"copy_source_available": true,
"worker_downloadable": true,
"staged": true,
"last_launched_at": "2026-04-15T12:00:00Z",
"evicted_at": "2026-04-15T12:00:00Z",
"node_launches": [
{
"node_id": "example",
"last_launched_at": "2026-04-15T12:00:00Z"
}
],
"created_at": "2026-04-15T12:00:00Z"
}
],
"next_cursor": "example"
}

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