Get processing progress
GET/api/video/:id/upload-progress
Optional while you poll: the processing stage, percent and error message.
- status -
queued,processing,completedorfailed - stage - e.g.
downloading,transcoding,uploading,done - progress - 0 to 100
- error - Why processing failed, when it did
Examples
curl https://flare.link/api/video/VIDEO_ID/upload-progress \
-H "Authorization: Bearer flr_pat_..."const res = await fetch("https://flare.link/api/video/VIDEO_ID/upload-progress", {
headers: { Authorization: "Bearer flr_pat_..." }
});
const { status, stage, progress, error } = await res.json();import requests
res = requests.get(
"https://flare.link/api/video/VIDEO_ID/upload-progress",
headers={"Authorization": "Bearer flr_pat_..."}
)
print(res.json())Expected response
{
"success": true,
"status": "processing",
"stage": "transcoding",
"progress": 42,
"message": "Transcoding video",
"error": null
}