Retrieve a job
Retrieve a job's status: queued, processing, succeeded, failed or cancelled. progress may be null; this does not mean the job has stalled.
Authentication
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' \ -H 'X-API-Key: yb_xxx_yyy'{ "id": "job_xxx", "type": "tts", "status": "queued", "reserved_credits": 1, "actual_credits": 1, "error_code": "example", "error_message": "example", "created_at": "2026-10-06T10:00:00Z", "started_at": "2026-10-06T10:00:00Z", "finished_at": "2026-10-06T10:00:00Z"}job_id*Job IdRequest succeeded
application/json- response
provider_failure?User-facing reason and recovery action derived from a failed video generation receipt. Includes only safe service identifiers. Portrait enrollment is indicated only when explicitly requested in the receipt.
actual_credits*number|nullcreated_at*Created Atdate-timeerror_code*|Failure reason code. IMAGE_REFERENCE_COPYRIGHT, IMAGE_PROMPT_COPYRIGHT and IMAGE_OUTPUT_COPYRIGHT mean the reference image, prompt or generated image did not pass copyright review. IMAGE_PROVIDER_INVALID_PARAMETERS means the image model did not accept the request parameters. IMAGE_PROVIDER_NO_RESULT means the job ended without a usable result. IMAGE_SUBMISSION_NOT_ACCEPTED means the image submission was not accepted. In all of these cases, reserved credits are refunded or nothing is charged.
error_message*string|nullfinished_at*|nullid*Idreserved_credits*Reserved Creditsstarted_at*|nullstatus*JobStatus"queued""processing""succeeded""failed""cancelled"type*JobType"tts""avatar""video""video_analysis""image""voice_design""audio_composition"webhook_endpoint_id?|ID of the webhook endpoint notified when the job ends. It must belong to your account and be enabled.
progress?number0 <= value <= 1