API DocsUploadsGet processing progress

Get processing progress

GET/api/video/:id/upload-progress
videos:read

Optional while you poll: the processing stage, percent and error message.

  • status - queued, processing, completed or failed
  • stage - e.g. downloading, transcoding, uploading, done
  • progress - 0 to 100
  • error - Why processing failed, when it did

Examples

curl
curl https://flare.link/api/video/VIDEO_ID/upload-progress \
  -H "Authorization: Bearer flr_pat_..."
node
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();
python
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
}