How to get the Alert Rules

Hello! Is there an API endpoint i can use to get a paginated list of the Alert Rules?

Specifically for Grafana versions 7.5.17 and 9.3.X

You can get all Alerting Rules for 9.x using /api/v1/provisioning/alert-rules. I don’t see pagination parameters: Swagger Editor

I’m getting “message”: “Not found” with this endpoint on v9.3.8. I saw in another post that Provisioning API works only since 9.4