Common capabilitiesAPI referenceJobsRetrieve a job

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

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' \  -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"}

Path Parameters

job_id*Job Id

Response Body

Request succeeded

application/json
  1. 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|null
created_at*Created At
Formatdate-time
error_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|null
finished_at*|null
id*Id
reserved_credits*Reserved Credits
started_at*|null
status*JobStatus
Value in"queued""processing""succeeded""failed""cancelled"
type*JobType
Value in"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?number
Range0 <= value <= 1

On this page