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

# List videos



## OpenAPI

````yaml /openapi.json get /api/v1/videos
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/videos:
    get:
      tags:
        - Videos
      summary: List videos
      operationId: listVideos
      parameters:
        - schema:
            type: string
            enum:
              - queued
              - processing
              - completed
              - failed
              - cancelled
          required: false
          name: status
          in: query
          description: >-
            Filter by video status. 'processing' covers every in-flight phase
            (script_generating, audio_processing, visual_processing, rendering).
            An unrecognized value returns 400.
        - schema:
            type: integer
            example: 20
          required: false
          name: limit
          in: query
          description: Maximum number of items to return.
        - schema:
            type: integer
            example: 0
          required: false
          name: offset
          in: query
          description: Pagination offset.
      responses:
        '200':
          description: List of videos.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVideosResponse'
        '400':
          description: Invalid status filter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ListVideosResponse:
      type: object
      properties:
        videos:
          type: array
          items:
            $ref: '#/components/schemas/ListVideoItem'
        pagination:
          type: object
          properties:
            total:
              type: integer
            limit:
              type: integer
            offset:
              type: integer
          required:
            - total
            - limit
            - offset
      required:
        - videos
        - pagination
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
    ListVideoItem:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        status:
          $ref: '#/components/schemas/VideoStatus'
        progress:
          type: integer
        outputUrl:
          type:
            - string
            - 'null'
        creditsUsed:
          type: integer
        errorMessage:
          type:
            - string
            - 'null'
        createdAt:
          type: string
        completedAt:
          type:
            - string
            - 'null'
      required:
        - id
        - name
        - status
        - progress
        - outputUrl
        - creditsUsed
        - errorMessage
        - createdAt
        - completedAt
    VideoStatus:
      type: string
      enum:
        - draft
        - queued
        - script_generating
        - audio_processing
        - visual_processing
        - rendering
        - completed
        - failed
        - cancelled
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.