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

# Lister les copies d'un site

> Ce que lit le CDN d'un site pour tenir ses copies à jour et répondre aux agents IA.



## OpenAPI

````yaml GET /v1/ai-rendering/copies
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/ai-rendering/copies:
    get:
      tags:
        - AI Rendering
      summary: List a site's copies
      description: >-
        What a site's CDN reads on a schedule to keep its copies: every
        published page whose copy has not expired, with the copy's file.
        Download a copy when its renderedAt is new, drop the copies of pages no
        longer listed, and answer AI agents' GETs with the stored copies. Free.
      operationId: listAiRenderingCopies
      responses:
        '200':
          description: The site's copies.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiRenderingCopyList'
              example:
                success: true
                host: www.example.com
                copies:
                  - path: /products/sunscreen
                    url: https://www.example.com/products/sunscreen
                    copy: >-
                      https://api.querying.ai/v1/evidence/1792717200-9f3c2a7d1e4b.html
                    renderedAt: '2026-10-23T01:00:31.000Z'
                    expiresAt: '2026-11-22T01:00:00.000Z'
        '401':
          description: >-
            UNAUTHORIZED: no site key, a replaced key, or the key of a removed
            site.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - siteKey: []
components:
  schemas:
    AiRenderingCopyList:
      type: object
      required:
        - success
        - host
        - copies
      properties:
        success:
          type: boolean
        host:
          type: string
          description: The site's host name.
        copies:
          type: array
          items:
            $ref: '#/components/schemas/AiRenderingCopy'
          description: Every published page whose copy has not expired, by path.
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          $ref: '#/components/schemas/ErrorDetail'
    AiRenderingCopy:
      type: object
      required:
        - path
        - url
        - copy
        - renderedAt
        - expiresAt
      properties:
        path:
          type: string
          description: >-
            Path and query that identify the page on its site, tracking
            parameters removed.
        url:
          type: string
          description: The page.
        copy:
          type: string
          description: >-
            The copy's HTML file, downloadable without a key: its URL is its
            access key.
        renderedAt:
          type: string
          format: date-time
          description: >-
            When the copy was rendered. It changes when the page is rendered
            again.
        expiresAt:
          type: string
          format: date-time
          description: When the copy's file expires. Do not send the copy after it.
    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>`.'
    siteKey:
      type: apiKey
      in: header
      name: X-Querying-Site-Key
      description: >-
        The site key AI Rendering showed when the site was connected or given a
        new key. It reads the site's copy list and nothing else.

````

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