Http_request_firewall_custom not coming on get rulesets API call

For Workers & Pages, what is the name of the domain?

devscript.cloud

What is the issue or error you’re encountering

https://api.cloudflare.com/client/v4/zones/{zoneid}/rulesets, When I call this API http_request_firewall_custom details are not coming in response but others are coming like http_request_sanitize, ddos_l7, http_request_firewall_managed, and API token has Zone WAF: Edit, Zone WAF: Read, Zone: Read permission.
Using another account(zone ID) will show all rulesets with the same permission.

This behavior is expected of you delete the http_request_firewall_custom ruleset. You need to create a new one. Below links explain the behavior of this:-

I am talking about the first time you hit the API without manually creating custom rules.