Skip to main content
GET
/
videos
/
{taskId}
Get video status
curl --request GET \
  --url https://rawugc.com/api/v1/videos/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "taskId": "<string>",
  "status": "pending",
  "model": "<string>",
  "prompt": "<string>",
  "creditsUsed": 123,
  "resultUrl": "<string>",
  "createdAt": 123,
  "completedAt": 123,
  "failCode": "<string>",
  "failMessage": "<string>",
  "progress": 50
}

Authorizations

Authorization
string
header
required

Use your API key from the RawUGC dashboard. Include as: Authorization: Bearer YOUR_API_KEY

Path Parameters

taskId
string
required

Unique task identifier returned from the generate endpoint

Response

Video status retrieved successfully

taskId
string

Unique task identifier

status
enum<string>

Current generation status

Available options:
pending,
processing,
completed,
failed
model
string

Model used for generation

prompt
string

Text prompt used (if applicable)

creditsUsed
number

Credits deducted for this generation

resultUrl
string<uri>

URL to download the generated video (available when status is 'completed')

createdAt
number

Timestamp when generation was initiated

completedAt
number

Timestamp when generation completed (if finished)

failCode
string

Error code if generation failed

failMessage
string

Error message if generation failed

progress
number

Generation progress percentage (0-100)

Required range: 0 <= x <= 100