Jobs
Provider-agnostic async status, download, and websocket streaming routes.
Get async job status
Authorization
BearerAuth Use Authorization: Bearer <api-key>.
In: header
Path Parameters
Inference surface used to select the provider endpoint.
Provider job identifier returned from an enqueue route.
1 <= lengthQuery Parameters
Optional provider endpoint override. If omitted, routing uses surface/model mapping.
1 <= lengthResponse Body
application/json
curl -X GET "https://loading/v1/jobs/chat/f3de27f8-61d5-4d58-aad1-a7d63f8a6e0f"{
"id": "f3de27f8-61d5-4d58-aad1-a7d63f8a6e0f",
"status": "IN_PROGRESS",
"delayTime": 0,
"executionTime": 4.61
}Download links or serialized payload for a completed job
Authorization
BearerAuth Use Authorization: Bearer <api-key>.
In: header
Path Parameters
Inference surface used to select the provider endpoint.
Provider job identifier returned from an enqueue route.
1 <= lengthQuery Parameters
Download file format when no direct media links are available.
Response Body
curl -X GET "https://loading/v1/jobs/chat/f3de27f8-61d5-4d58-aad1-a7d63f8a6e0f/download"{
"job_id": "f3de27f8-61d5-4d58-aad1-a7d63f8a6e0f",
"surface": "images",
"mode": "links",
"links": [
"https://cdn.example.com/out/abc.png"
]
}Stream async job status over WebSocket
Authorization
BearerAuth Use Authorization: Bearer <api-key>.
In: header
Path Parameters
Inference surface used to select the provider endpoint.
Provider job identifier returned from an enqueue route.
1 <= lengthQuery Parameters
Optional provider endpoint override. If omitted, routing uses surface/model mapping.
1 <= lengthResponse Body
curl -X GET "https://loading/v1/jobs/chat/f3de27f8-61d5-4d58-aad1-a7d63f8a6e0f/ws"