How to get accounts receivable via Frappe Rest API?

This is the error I get

This is the endpoint I try to access
/api/resource/Accounts%20Receivable

I want to be able to access the account balance of customers

I had to query
/api/method/frappe.desk.query_report.run
to get it. With some query params like report_name and filters.
I wish this was mentioned in the documentation for the rest api