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

# Veo 3 Query

> Use DeerAPI to call the Veo 3 Query endpoint with request details, response details, examples, and an OpenAPI playground.

## Overview

Use this endpoint to call the Veo 3 Query workflow through DeerAPI. The API reference on this page shows the request schema, response schema, authentication requirements, and runnable examples for the configured endpoint.

## Before you start

Use the DeerAPI base URL and pass your API Key in the `Authorization` header:

```text theme={null}
https://api.deerapi.com
```

```text theme={null}
Authorization: Bearer $DEERAPI_KEY
```

## Model selection

Choose a current model ID from the [live pricing page](https://api.deerapi.com/pricing). Model availability changes over time, so avoid copying a model ID from an old project without checking the live list first.

## Implementation notes

* Use the OpenAPI playground for the exact request fields accepted by this endpoint.
* Keep API Keys on the server side when you build production applications.
* Log the request ID from failed calls so support can investigate the request.
* Retry `429`, `500`, and `503` responses with exponential backoff.


## OpenAPI

````yaml /api/openapi/video/veo3/async/get-veo3-query.openapi.json GET /v1/videos/{video_id}
openapi: 3.1.0
info:
  title: Veo 3 Query API
  version: 1.0.0
  description: Use this field according to the endpoint schema.
servers:
  - url: https://api.deerapi.com
security:
  - bearerAuth: []
paths:
  /v1/videos/{video_id}:
    get:
      summary: Veo 3 Query API
      description: Use this field according to the endpoint schema.
      operationId: retrieveVeo3AsyncVideo
      parameters:
        - name: video_id
          in: path
          required: true
          description: Use this field according to the endpoint schema.
          schema:
            type: string
      responses:
        '200':
          description: Use this field according to the endpoint schema.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTask'
              examples:
                completed:
                  summary: Veo 3 Query API
                  value:
                    id: video_veo3_01jv7g6f1q0x7c2g0t8m4f8p4a
                    object: video
                    created_at: 1773283200
                    status: completed
                    completed_at: 1773283538
                    error: null
                    expires_at: 1773287138
                    model: veo3.1-pro
                    progress: 100
                    remixed_from_video_id: null
                    seconds: '8'
                    size: 16x9
        '404':
          description: Use this field according to the endpoint schema.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                notFound:
                  summary: Veo 3 Query API
                  value:
                    message: >-
                      Video with id
                      'video_68e688d4950481918ec389280c2f78140fcb904657674466'
                      not found.
                    data:
                      error:
                        code: null
                        message: >-
                          Video with id
                          'video_68e688d4950481918ec389280c2f78140fcb904657674466'
                          not found.
                        param: null
                        type: invalid_request_error
      x-codeSamples:
        - lang: Shell
          label: Example
          source: |
            curl -s "https://api.deerapi.com/v1/videos/example-id" \
              -H "Authorization: Bearer $DEERAPI_KEY"
        - lang: Python
          label: Example
          source: |
            import os
            import requests

            url = "https://api.deerapi.com/v1/videos/example-id"
            headers = {"Authorization": "Bearer " + os.environ["DEERAPI_KEY"]}
            response = requests.request("GET", url, headers=headers)
            print(response.json())
        - lang: JavaScript
          label: Example
          source: >
            const response = await
            fetch("https://api.deerapi.com/v1/videos/example-id", {
              method: "GET",
              headers: { Authorization: `Bearer ${process.env.DEERAPI_KEY}` },
            });

            console.log(await response.json());
components:
  schemas:
    VideoTask:
      type: object
      required:
        - id
        - object
        - created_at
        - status
        - model
        - progress
        - seconds
        - size
      properties:
        id:
          type: string
          description: Use this field according to the endpoint schema.
        object:
          type: string
          description: Use this field according to the endpoint schema.
        created_at:
          type: integer
          description: Use this field according to the endpoint schema.
        status:
          type: string
          enum:
            - queued
            - in_progress
            - completed
            - failed
        completed_at:
          type:
            - integer
            - 'null'
        error:
          oneOf:
            - $ref: '#/components/schemas/VideoError'
            - type: 'null'
        expires_at:
          type:
            - integer
            - 'null'
        model:
          type: string
        progress:
          type: integer
          minimum: 0
          maximum: 100
        remixed_from_video_id:
          type:
            - string
            - 'null'
        seconds:
          type: string
        size:
          type: string
      additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - message
        - data
      properties:
        message:
          type: string
        data:
          type: object
          required:
            - error
          properties:
            error:
              $ref: '#/components/schemas/VideoError'
          additionalProperties: true
      additionalProperties: true
    VideoError:
      type: object
      required:
        - code
        - message
        - param
        - type
      properties:
        code:
          type:
            - string
            - 'null'
        message:
          type: string
        param:
          type:
            - string
            - 'null'
        type:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use a DeerAPI API Key as a Bearer token.

````