Retrieve a job result
After a job succeeds, get a short-lived download URL for the result file. Call again for a new URL after it expires. retained_until is when the result file stops being retained.
Authentication
API Key: X-API-Key: <API Key> or Authorization: Bearer <API Key>.
Credentials in the examples are placeholders. Replace them and run the examples on your server.
Code examples
curl -X GET 'https://shixux.com/api/v1/jobs/job_id_example/result' \ -H 'X-API-Key: yb_xxx_yyy'{ "id": "job_xxx", "status": "queued"}job_id*Job IdRequest succeeded
application/json- response
expires_in?integer|nullid*Idresult_url?string|nullretained_until?|When the asset or result file stops being retained. Request a new download URL after one expires.
status*JobStatusValue in
"queued""processing""succeeded""failed""cancelled"preview_url?stringpreview_status?stringValue in
"pending""ready""expired"thumbnail_url?stringOptional signed, aspect-preserving image thumbnail for canvas display.