studioAdminGetModelJob
GET
/v1/studio/admin/model-jobs/{job_id}
const url = 'http://localhost:8300/v1/studio/admin/model-jobs/example';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/example \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Admin only (403). The UI polls it (every 2 s while active) for progress.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”job_id
required
string
Model job UUID (malformed = 404)
Responses
Section titled “Responses”The job
Media typeapplication/json
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
{ "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"}Not found
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}Retryable
Media typeapplication/json
object
detail
required
string
Example generated
{ "detail": "example"}