---
title: "Finalize video upload"
method: POST
path: "/uploads/video/finalize_upload"
tags: ["Uploads"]
---

# Finalize video upload

`POST /uploads/video/finalize_upload`

## Request

- Base URL: `https://api.mosaic.so`
- URL: `https://api.mosaic.so/uploads/video/finalize_upload`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Finalize a video upload after the file has been uploaded. Returns the video UUID which you can use in agent `update_params`.

## Request body

- object
  - `video_id` string, required: The video ID returned from get_upload_url

## Response `200`

Video finalized successfully

- VideoUploadFinalizeResponse
  - `video_id` string: UUID for the video. Use this in update_params when running agents.

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found

---

[API](https://skmtc.dev/mosaic/apis/mosaic-ai-api.md) - [All operations](https://skmtc.dev/mosaic/apis/mosaic-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mosaic/apis/mosaic-ai-api/revisions/c20e9fc606a4?raw)
