> ## Documentation Index
> Fetch the complete documentation index at: https://tryunsora.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Poll video status

> Poll video generation jobs until complete.

Poll a video job created via [Create video](/api-reference/video/create). Use the `id` from the create response.

**`GET /video/status/{id}`** — same pattern as image (`/image/status/{id}`).

Poll every few seconds until `status` is `COMPLETED` or `FAILED`.

## Path parameter

<ParamField path="id" type="string" required>
  Generation id from `POST /videos/create` (`generation.id`).
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "data": {
    "id": "cm123abc",
    "model": "seedance_2.0",
    "status": "COMPLETED",
    "outputUrl": "https://files.tryunsora.com/....mp4",
    "thumbnailUrl": "https://files.tryunsora.com/....jpg",
    "error": null,
    "createdAt": "2026-06-02T12:00:00.000Z",
    "updatedAt": "2026-06-02T12:01:30.000Z",
    "completedAt": "2026-06-02T12:01:30.000Z"
  }
}
```

| `status`     | Meaning              |
| ------------ | -------------------- |
| `QUEUED`     | Waiting to start     |
| `PROCESSING` | Rendering            |
| `COMPLETED`  | `outputUrl` is ready |
| `FAILED`     | See `error`          |

## Example

<RequestExample>
  ```bash theme={null} theme={null}
  curl "https://mvp.tryunsora.com/api/v1/video/status/GENERATION_ID" \
    -H "Authorization: Bearer uns_live_YOUR_API_KEY"
  ```
</RequestExample>

## Errors

| HTTP  | When                         |
| ----- | ---------------------------- |
| `400` | Missing id                   |
| `401` | Invalid auth                 |
| `404` | User or generation not found |
| `500` | Server error                 |


## OpenAPI

````yaml GET /video/status/{id}
openapi: 3.1.0
info:
  title: Unsora API
  version: 1.2.0
  description: >-
    Public API for Unsora integrations. Authenticate with Clerk JWT or
    uns_live_* API key. API keys are rate-limited to 60 requests/minute and
    support idempotency keys. Async jobs complete via polling GET
    /image/status/{id}.
servers:
  - url: https://mvp.tryunsora.com/api/v1
    description: Versioned API (recommended)
security: []
tags:
  - name: Clippings
  - name: Connect
  - name: Image Generations
  - name: Music Generations
  - name: Influencer Studio
  - name: Posts
  - name: Thumbnails
  - name: User
  - name: Video Generations
paths:
  /video/status/{id}:
    get:
      tags:
        - Video Generations
      summary: Poll video generation status
      description: Poll video jobs created via POST /videos/create.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Generation id from POST /videos/create
      responses:
        '200':
          description: Current job status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoStatusResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Video generation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    VideoStatusResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            id:
              type: string
            model:
              type: string
              enum:
                - seedance_2.0
            status:
              type: string
              enum:
                - QUEUED
                - PROCESSING
                - COMPLETED
                - FAILED
            outputUrl:
              anyOf:
                - type: string
                  format: uri
                - type: 'null'
            thumbnailUrl:
              anyOf:
                - type: string
                  format: uri
                - type: 'null'
            error:
              anyOf:
                - type: string
                - type: 'null'
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
            completedAt:
              anyOf:
                - type: string
                  format: date-time
                - type: 'null'
          required:
            - id
            - model
            - status
      required:
        - success
        - data
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````