Skip to main content

Endpoint

POST https://api.ugc.inc/render/status

Overview

Check the status of a render job submitted via /render/submit. Poll this endpoint until the status is completed or failed.

Request Body

job_id
string
required
The job ID returned from the submit endpoint

Response

data
object
Job status information
curl -X POST https://api.ugc.inc/render/status \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id": "550e8400-e29b-41d4-a716-446655440000"}'
{
  "ok": true,
  "code": 200,
  "message": "Success",
  "data": {
    "job_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "processing",
    "output_type": "video",
    "progress": 45,
    "message": "Rendering frames...",
    "created_at": 1700000000.123,
    "updated_at": 1700000015.456
  }
}