Skip to main content
GET
Get Job Status

Overview

Retrieves the current status of a download job. When completed, includes a signed download URL for the file.

Header Parameters

string
required
Your API key for authentication

Path Parameters

string
required
The job UUID returned from POST /jobs

Response

string
Job UUID
string
Original source URL
string
Job status: Pending, Processing, Completed, Failed, Warning, Skipped, Cancelled, or CancelledByAdmin
string
Signed download URL (only when Completed). Tornado-managed storage may use https://files.tornadoapi.io/<object-key>?verify=.... Your own S3 bucket retains its own endpoint and S3 signature. Use the returned URL unchanged when downloading, including its query string.
The files.tornadoapi.io delivery domain applies only to Tornado-managed storage. It does not replace a customer’s bucket endpoint or change their object key. On that domain, videos/ is part of the object key; there is no bucket-name segment in the path. A storage configuration that cannot be resolved does not fall back to a Tornado download URL.
string
Presigned URL for subtitles (if available)
string
Presigned URL for the thumbnail (only when download_thumbnail was enabled). Omitted otherwise.
string
Error message (when Failed, Warning, or Skipped)
string
Error classification (when Failed, Warning, or Skipped): error for technical failures (rate limits, bot detection, connection issues), warning for content issues (private video, members-only, geo-blocked, age-restricted, audio-only Spotify episodes). An age-restricted video can be downloaded with the cookies of an age-verified account.
string
Current processing step: Queued, Downloading, Muxing, Uploading, Finished
string
Video title (only present for completed jobs fetched from database)
string
Video/episode description from the source platform (only present for completed jobs)
string
Release or upload date. Spotify: exact publish date. YouTube: upload date (midnight UTC). ISO 8601 format.
string
S3 folder prefix if provided at job creation
string | null
Requested video resolution preference, for example 144, 240, or lowest.
string | null
Delivered video resolution, measured from the downloaded stream and expressed as its shorter dimension, for example 144p. It can differ from the request when that resolution is unavailable. This field is null for audio-only jobs and can be absent or null before completion or on older jobs.
string
Batch UUID if this job is part of a batch (Spotify show or YouTube playlist)
number
Download speed in MB/s (only present for completed jobs)
number
Upload speed in MB/s (only present for completed jobs)
integer
Metadata extraction duration in milliseconds (only present for completed jobs)
integer
Download stage duration in milliseconds (only present for completed jobs)
integer
Mux (FFmpeg) stage duration in milliseconds (only present for completed jobs)
integer
Upload stage duration in milliseconds (only present for completed jobs)
integer
Total pipeline duration from pop to completion in milliseconds (only present for completed jobs)
integer
YouTube API pre-check duration in milliseconds (only present when pre-check was performed)
integer
Time spent waiting for IO semaphore in milliseconds (only present for completed jobs)
integer
Time spent waiting for CPU semaphore in milliseconds (only present for completed jobs)
integer
Time spent waiting for upload semaphore in milliseconds (only present for completed jobs)
integer
Subtitle download duration in milliseconds (only present for completed jobs with subtitles)
integer
File move duration in milliseconds (only present for completed jobs)
integer
File size in bytes (only present for completed jobs)
string
Video codec of the source stream (e.g., "avc1", "vp9", "av01"). Only present for completed jobs.
string
Audio codec of the source stream (e.g., "mp4a", "opus"). Only present for completed jobs.
string
Download strategy used: native, ytdlp, cascade. Only present for completed jobs.
integer
Total download attempts across all strategies (only present for completed jobs)
integer
Number of download retries attempted (only present for completed jobs)
integer
Number of upload retries attempted (only present for completed jobs)
integer
Time spent waiting in queue in milliseconds (only present for completed jobs)
string
Webhook delivery status (only present when webhook_url was set)
integer
Creation timestamp in milliseconds since epoch
integer
Completion timestamp in milliseconds since epoch (only present for completed jobs)

Examples

Status Values

Processing Steps

Polling Example

Success Response

Error Responses

Delivery URLs expire. Newly signed URLs generally use a 24-hour lifetime, but a cached URL has less time remaining and a customer-provided SAS retains its own expiry. If the original credentials are unavailable, polling cannot always refresh an expired URL. Download promptly and preserve the entire query string.
Performance and metadata fields (title, description, release_date, folder, batch_id, download_speed_mbps, upload_speed_mbps, extract_duration_ms, download_duration_ms, mux_duration_ms, upload_duration_ms, total_duration_ms, precheck_duration_ms, io_wait_ms, cpu_wait_ms, upload_wait_ms, subtitle_duration_ms, file_move_ms, file_size, native_video_codec, native_audio_codec, download_strategy, cascade_total_attempts, download_retries, upload_retries, queue_wait_ms, requested_quality, actual_quality, webhook_status, finished_at) are only present for completed/failed jobs that have been persisted to the database. Active jobs (Pending/Processing) return only the base fields (id, url, status, s3_url, subtitle_url, error, error_type, step, created_at). Fields with no value are omitted from the response.
Completed jobs also echo back the original request parameters (format, video_codec, audio_codec, audio_bitrate, video_quality, filename, audio_only, download_subtitles, download_thumbnail, quality_preset, max_resolution, clip_start, clip_end, live_recording, live_from_start, max_duration, wait_for_video, enable_progress_webhook). These are omitted when null.

Multiple clip files

For a job submitted with clips, the completed response includes clip_files, an ordered array of {clip_start, clip_end, s3_key, s3_url, file_size}. Each s3_url downloads one excerpt and follows the same expiration and storage rules as the main URL. s3_url at the top level refers to the first excerpt; file_size at the top level is the sum of all excerpts. Before delivery, clip_files is absent. See the request example.