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

# Get Video Status

> Get the current status and metadata for a video generation job.



## OpenAPI

````yaml /openapi.json get /v1/videos/{id}
openapi: 3.1.0
info:
  title: TurboAds Public API
  version: 1.0.0
  description: >-
    Workspace-scoped API for creating media generation jobs and polling for
    results.
servers:
  - url: https://api.turboads.ai
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: Discover projects available to the API key workspace.
  - name: Voices
    description: Discover voices for talking actor generations.
  - name: Actors
    description: Discover actors for talking actor generations.
  - name: Images
    description: Create image generation jobs, poll status, and fetch final URLs.
  - name: Videos
    description: Create video generation jobs, poll status, and fetch final URLs.
  - name: Replace Actors
    description: Create motion-transfer jobs from a character image and reference video.
  - name: Talking Actors
    description: Create AI actor videos, poll status, and fetch final URLs.
paths:
  /v1/videos/{id}:
    get:
      tags:
        - Videos
      summary: Get Video Status
      description: Get the current status and metadata for a video generation job.
      parameters:
        - name: id
          in: path
          required: true
          description: Video generation ID returned by POST /v1/videos/generate.
          schema:
            type: string
      responses:
        '200':
          description: Video generation status
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/VideoGeneration'
              examples:
                success:
                  summary: Success
                  value:
                    data:
                      id: j97video123abc456def789
                      project_id: j97project123abc456def789
                      prompt: >-
                        A fast-paced ad showing a founder demoing a new
                        productivity app
                      model: kling-3.0
                      aspect_ratio: '9:16'
                      duration: 8
                      resolution: 1080p
                      status: completed
                      error: null
                      created_at: 1782225600000
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    VideoGeneration:
      type: object
      required:
        - id
        - project_id
        - prompt
        - model
        - aspect_ratio
        - duration
        - resolution
        - status
        - error
        - reference_file_ids
        - created_at
      properties:
        id:
          type: string
        project_id:
          type: string
        prompt:
          type: string
        model:
          type: string
        aspect_ratio:
          type: string
          enum:
            - '1:1'
            - '9:16'
            - '16:9'
        duration:
          type: number
        resolution:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - pending
            - generating
            - completed
            - failed
        error:
          type:
            - string
            - 'null'
        created_at:
          type: number
        reference_file_ids:
          type: array
          items:
            type: string
          description: File upload IDs used as references for this generation.
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
    RateLimitErrorResponse:
      type: object
      required:
        - error
        - retry_after_ms
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
        retry_after_ms:
          type: number
          description: Milliseconds to wait before retrying.
    ApiError:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Human-readable error message.
  responses:
    Unauthorized:
      description: The API key is missing, invalid, or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            error:
              summary: Missing, invalid, or revoked API key.
              value:
                error:
                  code: unauthorized
                  message: Missing, invalid, or revoked API key.
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            error:
              summary: Resource not found.
              value:
                error:
                  code: not_found
                  message: Resource not found.
    RateLimited:
      description: The API key exceeded its rate limit.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
          examples:
            error:
              summary: Rate limited
              value:
                error:
                  code: rate_limited
                  message: Rate limit exceeded.
                retry_after_ms: 1200
    InternalServerError:
      description: Unexpected server or storage configuration error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            error:
              summary: Internal server error
              value:
                error:
                  code: internal_error
                  message: Something went wrong.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your TurboAds API key
      x-default: ta_live_your_api_key

````