---
title: "Download a video"
method: GET
path: "/v1/videos/{id}/content"
tags: ["Videos"]
---

# Download a video

`GET /v1/videos/{id}/content`

## Request

- Base URL: `https://api.naga.ac`
- URL: `https://api.naga.ac/v1/videos/{id}/content`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/naga/apis/nagaai-api/docs/v1/videos/:id/content/get.ts> (a function with typed inputs; its response is checked against the schema)

Redirects to the MP4 file of a completed job. Requires the API key of the account that created it. NagaAI keeps the file for a limited time after the job completes.

## Path parameters

- `id` string, required

## Other responses

- `302`: A redirect to the MP4 file.
- `401`: The API key is missing, malformed, disabled, or does not belong to an account that may call this route.
- `404`: No job with this id belongs to the account. Another account's job answers the same way.
- `409`: The job is not `completed`: poll `GET /v1/videos/{id}` first.
- `500`: The gateway failed for a reason of its own. Report it — this status marks NagaAI's own bugs.
- `503`: A store the gateway needs did not respond. `Retry-After`, when present, carries the suggested wait.

## Changes

- **2026-11-03** `b697d49fa1f9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/naga/apis/nagaai-api/changes/v1/videos/:id/content/get.md)

---

[API](https://skmtc.dev/naga/apis/nagaai-api.md) - [All operations](https://skmtc.dev/naga/apis/nagaai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/naga/apis/nagaai-api/revisions/1aff453b26f4?raw)
