Model jobs, newest first (at most 200)
GET
/v1/studio/admin/model-jobs
const url = 'http://localhost:8300/v1/studio/admin/model-jobs';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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”host
string
active
boolean
Responses
Section titled “Responses”The jobs
Media typeapplication/json
object
jobs
required
Array<object>
object
id
required
string format: uuid
kind
required
string
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
title
required
Qwen Image 2.1 · Turbo, or the LoRA’s name
string
state
required
string
progress
required
failure
required
result
required
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>
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"}