AppStoreConnect API: Customer reviews VS ratings, how to get the latter?

I use the following AppStoreConnect API endpoint to query customer reviews for my app:

https://api.appstoreconnect.apple.com/v1/apps/id/customerReviews

I notice however that in my AppStoreConnect dashboard, I have two different reports: the reviews and the ratings, and the number are noticeably different.

My question is - what's the actual difference between the ratings and the reviews? As an App Store user, I can rate an app (give it stars), OR, I can write a review where I can also include a stars rating. Therefore, are ratings similar to reviews but without a message body? Do the ratings and reviews overlap, or are they totally different sets?

Also, how can I get the ratings (as opposed to reviews) from AppStoreConnect API? From the above endpoint I only get reviews. I don't see any other endpoint in the API in the docs.

Please advise, thanks!

AppStoreConnect API: Customer reviews VS ratings, how to get the latter?
 
 
Q