Skip to navigation

Retrieve a job

Poll a job's status and final result.

Authentication

AuthorizationBearer

Pass your EmpirioLabs API key as a bearer token. The Anthropic-style x-api-key header is also accepted on every endpoint.

Path parameters

job_idstringRequired
Job id returned by a generation request.

Response

Job state.
job_idstringOptional
statusenumOptional
Allowed values:
created_atintegerOptional

Unix timestamp (seconds) when the job was accepted.

completed_atintegerOptional

Unix timestamp (seconds) when the job finished. Present once the job is completed, failed or cancelled.

endpointstring or nullOptional

The endpoint that accepted the job, for example /v1/videos/generations.

modelstring or nullOptional
The model the job runs.
partialbooleanOptional

Present and true while a running job already returns part of its result in result.

resultobject or nullOptional
errorobject or nullOptional

Errors

404
Not Found Error