> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-onclientmiddleware.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Query logs (legacy)



## OpenAPI

````yaml https://logging.bunnycdn.com/docs/all/swagger.json get /{date}/{pullZoneId}.log
openapi: 3.0.4
info:
  title: bunny.net CDN Logging
  description: >-
    Access raw request logs via API with up to 3 days retention. Two API
    versions are available: v1 (legacy pipe-delimited) and v2 (structured JSON
    with rich filtering and pagination).
  version: v2
servers: []
security: []
tags:
  - name: Logging v1
  - name: Logging v2
paths:
  /{date}/{pullZoneId}.log:
    get:
      tags:
        - Logging v1
      summary: Query logs (legacy)
      parameters:
        - name: date
          in: path
          required: true
          schema:
            type: string
        - name: pullZoneId
          in: path
          required: true
          schema:
            type: integer
            format: int64
        - name: start
          in: query
          schema:
            type: integer
            format: int64
        - name: end
          in: query
          schema:
            type: integer
            format: int64
        - name: sort
          in: query
          schema:
            type: string
        - name: status
          in: query
          schema:
            type: string
        - name: search
          in: query
          schema:
            type: string
        - name: download
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: OK

````