Retrieve a HappyHorse video
Retrieve a HappyHorse video task by task ID, including status, progress, timestamps, and the completed video URL.
video_url after the task is completed.
Check these fields
statustells you whether the task isqueued,in_progress,completed,failed, orerror.progressis a coarse completion percentage.video_urlappears on completed responses.errorappears when a task fails.
Polling flow
Create the task first
id.Download the MP4 file
status is completed, call Retrieve HappyHorse video content.Authorizations
Bearer authentication. Use your CometAPI API key.
Path Parameters
Task ID returned by POST /v1/videos.
Response
Current HappyHorse video task state.
Task ID. Use this value as task_id in retrieve and content requests.
"task_example"
Object type. HappyHorse video tasks return video.
"video"
Model ID used for the task.
"happyhorse-1.0"
Task lifecycle status. Poll until the value is completed, failed, or error.
queued, in_progress, completed, failed, error "queued"
Task progress as a coarse percentage.
0 <= x <= 1000
Task creation time as a Unix timestamp in seconds.
1779938152
Compatibility alias for id. The value matches id when present.
"task_example"
Task completion time as a Unix timestamp in seconds. This field appears on completed tasks.
1779938219
Temporary video delivery URL. This field appears on completed tasks.
"<temporary-video-url>"
Failure details. This field appears when the task fails.