> ## 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.

# List video generations

> Paginated list of video generation jobs for the authenticated user.

Returns video generations (all video models) for the authenticated user, newest first. Filter to a single model with the `model` query parameter.

**`GET /videos/all`**

## Query parameters

<ParamField query="page" type="integer" default="1">
  Page number (1-based).
</ParamField>

<ParamField query="limit" type="integer" default="12">
  Items per page. Min `1`, max `100`.
</ParamField>

<ParamField query="model" type="string">
  Filter by video model key (e.g. `seedance-2.0`, `veo`, `kling-pro`, `sora-2`, `wan`). Defaults to all video models.
</ParamField>

## Response

```json theme={null}
{
  "success": true,
  "generations": [
    {
      "id": "cm123abc",
      "model": "seedance_2.0",
      "prompt": "Slow cinematic drone shot over misty mountains",
      "status": "COMPLETED",
      "ratio": "16:9",
      "duration": 5,
      "creditsUsed": 40,
      "error": null,
      "createdAt": "2026-06-02T12:00:00.000Z",
      "updatedAt": "2026-06-02T12:01:30.000Z",
      "outputAsset": { "id": "...", "url": "https://files.tryunsora.com/....mp4" },
      "thumbnailAsset": { "id": "...", "url": "https://files.tryunsora.com/....jpg" }
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 3,
    "totalCount": 28,
    "limit": 12,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}
```

## Example

```bash theme={null}
curl "https://mvp.tryunsora.com/api/v1/videos/all?page=1&limit=12" \
  -H "Authorization: Bearer uns_live_YOUR_API_KEY"
```

## Errors

| HTTP  | When           |
| ----- | -------------- |
| `401` | Invalid auth   |
| `404` | User not found |
| `500` | Server error   |


## OpenAPI

````yaml GET /videos/all
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:
  /videos/all:
    get:
      tags:
        - Video Generations
      summary: List video generations
      description: >-
        Paginated list of Seedance 2.0 (seedance_2.0) video jobs for the
        authenticated user.
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            default: 12
            minimum: 1
            maximum: 100
        - name: model
          in: query
          required: false
          schema:
            type: string
          description: >-
            Filter by video model key (e.g. seedance-2.0, veo, kling-pro).
            Defaults to all video models.
      responses:
        '200':
          description: Paginated list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    VideoListResponse:
      type: object
      properties:
        success:
          type: boolean
        generations:
          type: array
          items:
            $ref: '#/components/schemas/VideoGenerationSummary'
        pagination:
          type: object
          properties:
            currentPage:
              type: integer
            totalPages:
              type: integer
            totalCount:
              type: integer
            limit:
              type: integer
            hasNextPage:
              type: boolean
            hasPreviousPage:
              type: boolean
      required:
        - success
        - generations
        - pagination
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        code:
          type: string
        message:
          type: string
      required:
        - error
    VideoGenerationSummary:
      type: object
      properties:
        id:
          type: string
        model:
          type: string
          enum:
            - seedance_2.0
        prompt:
          type: string
        status:
          type: string
          enum:
            - QUEUED
            - PROCESSING
            - COMPLETED
            - FAILED
        ratio:
          type: string
        duration:
          type: integer
        creditsUsed:
          type: integer
        error:
          anyOf:
            - type: string
            - type: 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        outputAsset:
          type: object
          additionalProperties: true
        thumbnailAsset:
          type: object
          additionalProperties: true
      required:
        - id
        - model
        - status
        - createdAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Clerk session JWT or Unsora API key (uns_live_*)

````