GET
/
waap
/
v1
/
domains
/
{domain_id}
/
stats
curl --request GET \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/stats \
  --header 'APIKey: <api-key>'
{
  "count": {
    "action": [
      [
        "<string>"
      ]
    ],
    "country": [
      [
        "<string>"
      ]
    ],
    "org": [
      [
        "<string>"
      ]
    ],
    "rule_name": [
      [
        "<string>"
      ]
    ]
  },
  "blocked": {
    "action": [
      [
        "<string>"
      ]
    ],
    "country": [
      [
        "<string>"
      ]
    ],
    "org": [
      [
        "<string>"
      ]
    ],
    "rule_name": [
      [
        "<string>"
      ]
    ]
  }
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Query Parameters

start
string
required

Filter traffic starting from a specified date in ISO 8601 format

end
string

Filter traffic up to a specified end date in ISO 8601 format. If not provided, defaults to the current date and time.

ip
string[] | null

A list of IPs to filter event statistics.

reference_id
string[] | null

A list of reference IDs to filter event statistics.

action
enum<string>[] | null

A list of action names to filter on.

result
enum<string>[] | null

A list of results to filter event statistics.

Response

200
application/json

Successful Response

A collection of event metrics over a time span