Kibana Rule API - Export from cluster with API

Hello Team,

I am trying to pull rules which are created in our elastic cluster.

I have used below API query , to get all the alert names.

GET kbn:/api/alerting/rules/_find

The need i am looking for is to export this all alert names to excel. Any possibility to export rules from cluster with API?