Status API

The job request id is returned as a response when the job is accepted.

GET /job/status?reqId=<job-id>#

curl "https://api.mediamachine.io/job/status?reqId=00000000-0000-0000-0000-000000000000"

Job done response#

If the job is completed successfully, the job status is set to done and the output can be found in the specified outputUrl location.

{
"id": "00000000-0000-0000-0000-000000000000",
"status": "done",
"createdAt": "2021-02-15T17:34:16.116644Z"
}

Job queued response#

If the job is still queued, the job status is set to queued. You can check the job status again after some time.

{
"id": "00000000-0000-0000-0000-000000000000",
"status": "queued",
"createdAt": "2021-02-15T17:34:16.116644Z"
}

Job errored response#

If the job errored due to some reason, the status will be set to "errored"

{
"id": "00000000-0000-0000-0000-000000000000",
"status": "errored",
"createdAt": "2021-02-15T17:34:16.116644Z"
}