Skip to main content
GET
/
waap
/
v1
/
domains
/
{domain_id}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
waap_detailed_domain = client.waap.domains.get(
    1,
)
print(waap_detailed_domain.id)
{
  "id": 123,
  "name": "<string>",
  "custom_page_set": 123,
  "status": "active",
  "created_at": "2023-11-07T05:31:56Z",
  "quotas": {
    "firewall-rules": {
      "allowed": 5,
      "current": 2
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://gcore.com/docs/llms.txt

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

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

domain_id
integer
required

The domain ID

Response

Successful Response

Represents a WAAP domain, serving as a singular unit within the WAAP service.

Each domain functions autonomously, possessing its own set of rules and configurations to manage web application firewall settings and behaviors.

id
integer
required

The domain ID

name
string
required

The domain name

Maximum string length: 255
custom_page_set
integer | null
required

The ID of the custom page set

status
enum<string>
required

The different statuses a domain can have

Available options:
active,
bypass,
monitor,
locked
created_at
string<date-time>
required

The date and time the domain was created in ISO 8601 format

quotas
Quotas · object

Domain level quotas

Example:
{
  "firewall-rules": { "allowed": 5, "current": 2 }
}