Skip to content
Dashboard
API Reference

Finalize Video Upload ​

Finalize a previously uploaded video asset.

Call after uploading the file bytes to the signed URL from Create Video Upload URL.

Limits: 5 GB, plan-based duration: 2 hours on Standard, 5 hours on Professional/Enterprise.

Request ​

bash
curl -X POST "https://api.mosaic.so/uploads/video/finalize_upload" \
  -H "Authorization: Bearer mk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"video_id": "7f8d9c2b-4a6e-8b3f-1d5c-9e2f3a4b5c6d"}'

Response ​

json
{
  "video_id": "7f8d9c2b-4a6e-8b3f-1d5c-9e2f3a4b5c6d"
}

Use video_id in update_params when calling Run Agent.