GET
/
policy
curl --request GET \
  --url https://api.altostrat.io/content/policy \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "applications": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "resolvers": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "forward_to": "127.0.0.1",
        "ip_address": "127.0.0.1"
      }
    ],
    "records": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "type": "A",
        "fqdn": "<string>",
        "target": "192.0.2.10"
      }
    ],
    "created_at": "2025-04-07T09:00:21+10:00",
    "safe_search": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "option": "<string>"
      }
    ],
    "split_horizon_domains": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "fqdn": "<string>"
      }
    ],
    "attachments": 123,
    "sites": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "dns_whitelist": [
      "<string>"
    ],
    "dns_blacklist": [
      "<string>"
    ],
    "block_adult": true,
    "dnr_policy_overlap": true
  }
]

Authorizations

Authorization
string
header
required

Enter the Bearer token (obtained via authentication or provided internally).

Response

200
application/json

A list of DNS policies.

The response is of type object[].