Review of WAF custom rules via API

I am seeing custom waf rules set set up for one of my zones on UI, but I am unable to retrieve this info via the API. I am using the following endpoint https://api.cloudflare.com/client/v4/zones/{zone_id}/rulesets but the info in the response does not look like the rules seen in the UI
Was this page helpful?