---
title: "View or download a video file"
method: GET
path: "/api/viewvideo"
tags: ["view"]
deprecated: true
---

# View or download a video file

`GET /api/viewvideo`

> **Deprecated.**

**Deprecated.** This endpoint is an alias of `GET /api/view` added for
legacy history-queue video playback. Callers should use `/api/view`
directly; the endpoint is retained for backward compatibility but will
be removed in a future release.

## Query parameters

- `filename` string, required
- `type` 'input' | 'output' | 'temp'
- `subfolder` string

## Response `200`

Video content

## Other responses

- `401` — Unauthorized
- `404` — Not found

## Changes

- **2026-05-12** `2f69d843959c` — 1 info
  - endpoint deprecated
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/viewvideo/get.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
