List Firewall Policies
List the WAF/firewall policies on the calling user's account. Firewall policies are evaluated before traffic policies — a request blocked by the firewall never reaches the agent. Each policy has an action (allow or block) and a list of conditions; if all conditions match, the action fires.
Policies are evaluated in priority order (lower first). The first matching policy determines the verdict; subsequent policies are skipped (allow-list / block-list semantics).
Distinct from traffic policies: firewall policies are account-wide and binary (allow/block), while traffic policies attach per-endpoint and can do rich actions (rate limit, redirect, transform).
Query parameters
true) or disabled (false) policies. Omit for all.true — each policy carries its full conditions array. Set false to omit conditions for a lighter response.page returns the full set. When page is supplied without page_size, the page size is 15; values above 200 are capped at 200. When paginated, the response object also carries total, page, and page_size.Response (200 OK)
priority ascending (fields below). Always present; [] when there are none.blocked (int, requests a firewall policy blocked), top_source (string, the client IP blocked most often; empty when none) and top_source_n (int, how often it was blocked). Omitted when the summary can't be computed.page: the page returned, the effective page size, and the number of matching policies across all pages.Policy object
id (every object in the API carries uuid).allow, block or challenge. allow stops further policy evaluation and lets the request through; block rejects (HTTP 403 by default, or the account's custom firewall error template if active); challenge makes HTTP visitors pass the edge browser check first and blocks on TCP/UDP endpoints.100.false skips this policy at evaluation time.include_conditions=false and when the policy has no conditions — a policy with zero conditions matches every request (use carefully). Each condition: {id, uuid, policy_id, policy_uuid, condition_type, operator, condition_value, logical_operator, created_at} (id = uuid, policy_id = policy_uuid, all uuid strings).0 when none or when the stats can't be read).shadowed: true plus a human-readable reason). Only computed when conditions are loaded.Deprecated: until the sunset this response also carries the legacy integer user_id and account_id fields. Don't use them; read user_uuid and account_uuid.