How to get betaTesterState via AppStoreConnect API

I would like to get the same information as on the AppStoreConnect Web UI regarding the apps installed on a testers device:

When I listen to the network traffic on the web ui I see that the "/metrics/betaTesterUsages" API endpoint is called. But the same request on the official API host does not work and I don't find a way to get the same attributes on the betaTester object, e.g. betaTesterState and devices.

Any help is appreciated

How to get betaTesterState via AppStoreConnect API
 
 
Q