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

studioGetMediaJob

GET
/v1/studio/media-jobs/{job_id}
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.

job_id
required
string

Media job UUID (malformed = 404)

The job

Media typeapplication/json
object
id
required
string format: uuid
kind
required
string
Allowed values: export frame
status
required
string
Allowed values: queued running succeeded failed cancelled
host
required
string
env
required
string
timeline_id
required

Export: the sequence

string | null format: uuid
revision
required

Export: the revision exported

integer | null
>= 1
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
Allowed values: copy conform
reason

Export: why the runner fell back to conform; null otherwise

string | null
progress
required
One of:
object
frames
required
integer
total
required
integer
>= 1
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
One of:
object
class
required

Host_lost: its host stopped responding; export again: another live host is chosen

string
Allowed values: input invalid ffmpeg verify internal host_lost
detail
required
string
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"
}