---
title: "Retrieve a Video"
method: GET
path: "/v1/videos/{video_id}"
tags: ["OpenAI Compatible"]
---

# Retrieve a Video

`GET /v1/videos/{video_id}`

Fetch the latest metadata for a generated video.

## Path parameters

- `video_id` string, required

## Response `200`

Success

- VideoResource — Structured information describing a generated video job.
  - `id` string, required — Unique identifier for the video job.
  - `object` 'video', required — The object type, which is always `video`.
  - `model` union, required
    - string
    - 'sora-2' | 'sora-2-pro' | 'sora-2-2025-10-06' | 'sora-2-pro-2025-10-06' | 'sora-2-2025-12-08'
  - `status` 'queued' | 'in_progress' | 'completed' | 'failed', required
  - `progress` integer, required — Approximate completion percentage for the generation task.
  - `created_at` integer, required — Unix timestamp (seconds) for when the job was created.
  - `completed_at` integer, nullable, required — Unix timestamp (seconds) for when the job completed, if finished.
  - `expires_at` integer, nullable, required — Unix timestamp (seconds) for when the downloadable assets expire, if set.
  - `prompt` string, nullable, required — The prompt that was used to generate the video.
  - `size` '720x1280' | '1280x720' | '1024x1792' | '1792x1024', required
  - `seconds` string, required — Duration of the generated clip in seconds. For extensions, this is the stitched total duration.
  - `remixed_from_video_id` string, nullable, required — Identifier of the source video if this video is a remix.
  - `error` Error2, required — An error that occurred while generating the response.
    - `code` string, required — A machine-readable error code that was returned.
    - `message` string, required — A human-readable description of the error that was returned.

## Other responses

- `400` — Invalid request
- `401` — Authentication failed
- `403` — Permission denied
- `404` — Not found
- `429` — Rate limited
- `5XX` — Server / upstream error

---

[API](https://skmtc.net/aihubmix/apis/aihubmix-gateway-api.md) · [All operations](https://skmtc.net/aihubmix/apis/aihubmix-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aihubmix/aihubmix-gateway-api/revisions/e7e1a5d99ac2/schema)
