Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Model jobs, newest first (at most 200)

GET
/v1/studio/admin/model-jobs
curl --request GET \
--url http://localhost:8300/v1/studio/admin/model-jobs \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

Admin only (403). active: true = only queued and running ones. Every admin sees every job.

host
string
/^[a-z0-9]{1,32}$/
active
boolean

The jobs

Media typeapplication/json
object
jobs
required
Array<object>
<= 200 items
object
id
required
string format: uuid
kind
required
string
Allowed values: download delete lora_delete
host
required
string
env
required

The runner env that does it (the one whose models or loras key lists the model or LoRA)

string
model
required

Download, delete

string | null
variant
required

Download: the variant; delete: null = every variant (or the add-on’s)

string | null
addon
required

Download and delete: the optional add-on instead of a variant (variant null)

string | null
lora_id
required

Lora_delete

string | null
/^[0-9a-f]{64}$/
title
required

Qwen Image 2.1 · Turbo, or the LoRA’s name

string
state
required
string
Allowed values: queued running succeeded failed cancelled
progress
required
One of:
object
done_bytes
required
integer
total_bytes
required
integer | null
files_done
required
integer
files_total
required
integer | null
file
required
string | null
eta_s
required
number | null
failure
required
One of:
object
class
required

Host_lost: the host stopped responding while the job was released

string
Allowed values: not_found gated licence disk_full hash_mismatch network in_use not_downloadable internal host_lost
detail
required
string
result
required
One of:
object
bytes
integer
files
integer
freed_bytes
integer
reused
Array<string>
separate
Array<string>
kept
Array<string>
keeps
required

Delete: the shared components it leaves on disk, decided when it was queued; [] otherwise

Array<object>
object
component
required
string
from_variant
required
string
for
required

The variants on the host that still load it

Array<string>
>= 1 items
licence
required
One of:
object
id
required
string
sha256
required
string
/^[0-9a-f]{64}$/
requested_by
required

The admin’s user id

string format: uuid
created_at
required
string format: date-time
started_at
required

The first running status

string | null format: date-time
ended_at
required
string | null format: date-time

Example

{
"jobs": [
{
"kind": "download",
"title": "Qwen Image 2.1 · Turbo",
"state": "queued",
"failure": {
"class": "not_found"
}
}
]
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Valid token without the admin role: “admin role required”

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}