Skip to main content
GET
/
shield
/
event-logs
/
{shieldZoneId}
/
{date}
/
{continuationToken}
cURL
curl --request GET \
  --url https://api.bunny.net/shield/event-logs/{shieldZoneId}/{date}/{continuationToken}
{
  "logs": [
    {
      "logId": "<string>",
      "timestamp": 123,
      "log": "<string>",
      "labels": {
        "asn": "<string>",
        "country": "<string>",
        "ruleId": "<string>",
        "severity": "<string>",
        "method": "<string>",
        "ruleGroup": "<string>",
        "status": "<string>",
        "serverZone": "<string>"
      }
    }
  ],
  "hasMoreData": true,
  "continuationToken": "<string>",
  "startToken": "<string>",
  "errorResponse": {
    "statusCode": 100,
    "success": true,
    "message": "<string>",
    "errorKey": "<string>"
  }
}

Path Parameters

shieldZoneId
integer<int32>
required

The ID of the Shield Zone.

date
string
required

The Date (MM-dd-yyyy) of returned Event Logs.

continuationToken
string
required

The Continuation Token for the next page of Event Logs

Response

OK

logs
object[] | null
hasMoreData
boolean
continuationToken
string | null
startToken
string | null
errorResponse
object

Generic response object containing status information for API operations.