Every model and variant with its components, and its presence on every host (for everyone)
const url = 'http://localhost:8300/v1/studio/models';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8300/v1/studio/models \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Built from the registry <host>.<env>.models keys of every host with a present hosts key (fresh or offline) and studio’s model jobs; nothing in it is per user. hosts: those hosts by name, live = a fresh key. models: the union of their models by title then id; each variant’s descriptive fields from the freshest live key that publishes it (else the freshest key); hosts of a variant: every host whose models key lists the model, by name (a host with no env for the model is not listed). A variant host’s state: downloading while a download job of that (host, model, variant) is queued or running (job), else the key’s presence. Not paginated.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The models
object
object
Some hosts key of it is fresh (30 s); an offline host shows what it last published
Its envs with a present hosts key, by name
The models root, from the freshest key’s models_disk; null when no key reports it
Free space on the models root’s volume, from the same key
Admins only: a Hub token file is present on the host (needed for a gated source); never the token
Every licence a listed variant names, each once (the text shown before a download)
object
The full text; its UTF-8 SHA-256 is what a download’s job records as accepted
object
Every runtime the pack has; only mlx or native = runs on Apple silicon only
object
The devices it runs on (model.yaml runtimes.<r>.devices); absent = every device of that runtime
object
Its line under the title in the model chip’s menu (registry variant help, from the freshest key publishing it; LTX’s Distilled 8 steps, about 10× faster); absent = none
What it loads at (one only: whatever the model node asks, studio’s RunsAt). With its components’ stored a precision other than the stored dtype is made at load (bf16 · int8 at load) and a stored quantized dtype loads as it is (fp8 · stored quantized); without, first = as stored and the rest load-time quantizations
The only devices it runs on; absent = every device of the model’s runtimes
Its folder under each host’s models root
The source needs a Hub token on the host
The expected size of its own files (source.bytes); null when unknown
object
The variant whose folder holds it: itself, or the owner of a shared component
The dtype most of its weight bytes have on disk (registry component stored), from the freshest key that reports it; absent when no host does (its files on no disk, or a format that does not say: GGUF, packed 4-bit)
On disk, from the freshest key where it is present; null when on no host
object
Present: every file on disk, hashes as recorded; partial: some (resume with a download); missing: none of its own; downloading: a download job is queued or running (job); mismatch: files whose hash differs from the recorded one (mismatch; download again)
Its own files on that host’s disk; null when missing
State mismatch: the files, relative to dir
Its optional add-ons, the freshest key’s order; empty for most models
A part a few controls need, downloaded and deleted on its own (the Models screen’s “Optional add-ons”); every variant works without it. Descriptive fields from the freshest live key that publishes it, as a variant’s
object
What a NodeSchema’s addons names; a model job’s addon
The name in the greyed controls’ and Run on’s <short> not downloaded (registry add-on short; Qwen Image’s Text enhancer and Edit enhancer are both Enhancer). Absent = title
The Models screen’s mono line beside the title (registry add-on tag). Absent = the component id
The task whose runs need it: true = only a run with references (an edit), false = only one without (text to image). Absent = both
Its folder under each host’s models root
The variants whose runs need it; a run on another variant does not, and the form greys those variants’ rows instead of a control when the node always runs (Dev without the distilled LoRA). Absent = every variant
Every host whose models key lists the model with this add-on, by name: its state as a variant’s (downloading while its download job is open)
object
Present: every file on disk, hashes as recorded; partial: some (resume with a download); missing: none of its own; downloading: a download job is queued or running (job); mismatch: files whose hash differs from the recorded one (mismatch; download again)
Its own files on that host’s disk; null when missing
State mismatch: the files, relative to dir
Example
{ "licences": [ { "id": "apache-2.0" } ], "models": [ { "id": "qwen-image-2.1", "family": "qwen-image", "title": "Qwen Image 2.1", "media": [ "image" ], "runtimes": [ { "devices": [ "cuda" ] } ], "variants": [ { "id": "turbo", "title": "Turbo", "precisions": [ "bf16" ], "devices": [ "cuda" ], "components": [ { "component": "text_encoder", "precisions": [ "bf16" ], "stored": "bf16" } ], "hosts": [ { "state": "present", "job": { "state": "queued" } } ] } ], "addons": [ { "component": "enhancer", "title": "Enhancer", "short": "Enhancer", "tag": "PE-T2I", "hosts": [ { "state": "present", "job": { "state": "queued" } } ] } ] } ]}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}