cURL
curl --request GET \ --url https://api.mediapi.dev/v1/jobs/{id} \ --header 'X-API-Key: <api-key>'
{ "id": "job_abc123", "status": "pending", "input_url": "<string>", "operations": [ { "type": "image_resize", "params": { "width": 800, "height": 600 } } ], "outputs": [ {} ], "error": "<string>", "progress": {}, "created_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" }
Check the current status of a job and retrieve results when completed.
Job details
"job_abc123"
pending
processing
completed
failed
cancelled
Show child attributes