Alert API get all configured alerts

Hi, im using unified alerting and im curious if this api endpoint is stable for use.
I dont see any other documents on getting all the alerting rules (only using specific uid)
I tried using the endpoint {baseUrl+ “/api/alertmanager/grafana/api/v2/alerts”} and I get all my alerts.
Are there any documents on this api that i can refer to?