To get the status of a transcoding job, make a GET request to https://api.octet.video/v0/jobs/{JOB_ID}
replacing {JOB_ID}
with the ID of your job.
Sample response:
{
"status": "encode_in_progress",
"encode_completion_pct": 0.934,
"packaging_completion_pct": 0.0,
"job_id": "c8a7f369-5e17-475a-b56a-21bfc0a4e280",
"created_at": "2022-07-20T04:14:00.755Z"
}
Key | Description |
---|---|
status | One of: created , encode_in_progress , encode_complete , packaging_in_progress , error , complete |
encode_completion_pct | A number between 0 and 1. This is an estimate and may not be accurate |
packaging_completion_pct | A number between 0 and 1. This is an estimate and may not be accurate |
job_id | The job ID |
created_at | A the datetime when the job was created in ISO 8601 format |