studioGetMediaJob
GET
/v1/studio/media-jobs/{job_id}
const url = 'http://localhost:8300/v1/studio/media-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/media-jobs/example \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'An export or frame job of the caller (another user’s is 404). The UI polls it every second while it is queued or running.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”job_id
required
string
Media job UUID (malformed = 404)
Responses
Section titled “Responses”The job
Media typeapplication/json
object
id
required
string format: uuid
kind
required
string
status
required
string
host
required
string
env
required
string
timeline_id
required
Export: the sequence
string | null format: uuid
revision
required
Export: the revision exported
integer | null
source_take_id
required
Frame: the video take
string | null format: uuid
mode
required
Export: what was planned (copy = picture stream copy); once it ended, what the runner did (copy can fall back to conform)
string | null
reason
Export: why the runner fell back to conform; null otherwise
string | null
take_id
required
Succeeded: the take it made (an export: a video take, source export; a frame: an image take, source frame)
string | null format: uuid
failure
required
created_at
required
string format: date-time
started_at
required
string | null format: date-time
finished_at
required
string | null format: date-time
Example
{ "kind": "export", "status": "queued", "mode": "copy", "failure": { "class": "input" }}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"}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"}