Queue

Submit a queued job

POST
/queue/submit

Submit a new job to the queue for asynchronous processing. Jobs are processed in strict priority order (higher priority first, FIFO within the same priority). Returns a request ID that can be used to poll status or cancel the job.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Job request

Request to submit a job to the queue.

info?

Arbitrary JSON metadata stored with the job. Returned in status responses, where the model and system may have added or modified keys (e.g. progress).

model*string

Required model identifier

payload*

Freeform model input. Passed unchanged to the model. Contents are model-specific.

priority?integer

Job priority. Higher values are processed first (strict priority ordering). Jobs with equal priority are processed in submission order (FIFO).

Default0

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/queue/submit" \  -H "Content-Type: application/json" \  -d '{    "model": "string",    "payload": {}  }'
{  "requestId": "string"}