Jobs

Get job status

Retrieves the status and result of an async job.

get/jobs/{jobId}

Request

  • Base URL
    https://www.aimagicx.com/api/v1
  • Auth
    HTTP bearer

Path parameters

jobIdstring required

The job ID returned from an async request

Query parameters

pollboolean

Enable long polling - waits up to 30s for job completion

Response

Job status

idstring
status'pending' | 'processing' | 'completed' | 'failed'
progressinteger
createdinteger
completedinteger nullable
modelstring
outputDataobject nullable

Result data when completed

errorMessagestring nullable

Error message if failed

Changes

No recorded changes to this operation across all 1 revision of this API.