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_idstringOptionalformat: "uuid"
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

Why the job failed, present when status is failed.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error