Get Firewall Policy
Read the full policy record including its conditions array. Use this to inspect a policy's logic before editing or to render the conditions editor in a dashboard.
Path parameters
Response (200 OK)
The policy object, in the same shape as a list entry (id, uuid, user_uuid, account_uuid, name, description, action, priority, enabled, created_at, updated_at), with its conditions. Its match statistics are the ones its list row shows, over the same 7-day window: hit_count, and last_matched / hits_daily (both omitted when the policy hasn't matched in the window). Best-effort, as on the list: 0 and omitted when the stats can't be read.
{id, uuid, policy_id, policy_uuid, condition_type, operator, condition_value, logical_operator, created_at} (id = uuid, policy_id = policy_uuid). condition_type is one of source_ip, country, asn, browser, user_agent, endpoint, path, method, header, cookie, protocol, port. operator is one of equals, contains, starts_with, ends_with, regex, in, not_in, exists, not_exists (the set valid for a given type is constrained — see create). logical_operator is the outgoing connector to the next condition: AND or OR.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.