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

# Descargar una creatividad archivada

> Descarga la imagen o el vídeo archivado de un anuncio.



## OpenAPI

````yaml GET /v1/ad-watches/{id}/media/{mediaId}
openapi: 3.1.0
info:
  title: querying.ai
  description: >-
    One API for every AI answer engine. Every task is asynchronous: submit, then
    collect the result via webhook or polling.
  version: 1.0.0
servers:
  - url: https://api.querying.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/ad-watches/{id}/media/{mediaId}:
    get:
      tags:
        - Ad watches
      summary: Download an archived creative
      description: >-
        The stored bytes of an archived image, video or poster. Content-Type is
        the stored type, ETag is the file's SHA-256, and the cache is private. A
        file whose status is not archived returns 404.
      operationId: getAdWatchMedia
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Watch id from GET /v1/ad-watches.
        - name: mediaId
          in: path
          required: true
          schema:
            type: string
          description: The id of an entry of an ad's media array.
      responses:
        '200':
          description: The archived file.
          headers:
            ETag:
              schema:
                type: string
              description: The file's SHA-256.
            Cache-Control:
              schema:
                type: string
              description: private
          content:
            image/*:
              schema:
                type: string
                format: binary
            video/*:
              schema:
                type: string
                format: binary
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/AdWatchNotFound'
components:
  responses:
    Unauthorized:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error:
              code: MISSING_API_KEY
              message: Missing or invalid API key
              timestamp: '2026-07-09T04:12:00.000Z'
    AdWatchNotFound:
      description: >-
        No ad watch, ad, event or archived file with that id for this key. A
        watch owned by another account is reported the same way rather than as a
        403.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error:
              code: NOT_FOUND
              message: No ad watch with that id
              timestamp: '2026-11-23T09:00:00.000Z'
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          $ref: '#/components/schemas/ErrorDetail'
    ErrorDetail:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable, safe to branch on. See the Errors guide for the full list.
        message:
          type: string
          description: For humans. May change.
        details:
          description: >-
            Context for the error. An array of `{field, message}` on most
            `VALIDATION_ERROR`s; an object elsewhere (for example `{id}` on
            `RESOURCE_NOT_FOUND`, `retryAfterSec` on 429 and 503 codes). Omitted
            when there is nothing to add.
          oneOf:
            - type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
            - type: object
              additionalProperties: true
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key, sent as `Authorization: Bearer <key>`.'

````

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