Skip to main content
GET
/
{pullZoneId}
/
{dateTime}
Get origin error logs for a specific Pull Zone and date
curl --request GET \
  --url https://cdn-origin-logging.bunny.net/{pullZoneId}/{dateTime} \
  --header 'AccessKey: <api-key>'
{
  "logs": [
    {
      "logId": "a6a6b755-b6a4-46be-b523-aa82a17d4bc5",
      "timestamp": 1728952065848,
      "log": "{\"RequestUrl\":\"/apikey\",\"PullZoneId\":308006,\"Message\":\"Origin DNS lookup failed...\",\"ErrorCode\":\"dns_lookup\",\"StatusCode\":502}",
      "labels": {
        "ErrorCode": "dns_lookup",
        "StatusCode": "502",
        "ServerZone": "CA"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

AccessKey
string
header
required

Send your Access Key in the AccessKey header.

Path Parameters

pullZoneId
integer
required

The ID of the Pull Zone.

dateTime
string
required

The date for which to retrieve logs, formatted as MM-dd-yyyy.

Pattern: ^\d{2}-\d{2}-\d{4}$
Example:

"10-29-2025"

Response

Successful response with log data

logs
object[]