Which API for Agent and Queue Performance Data?

I would like to retrieve agent performance and queue performance data using the API.
In that case, could you tell me which API I should use?
There are so many APIs that I'm not sure which one I should use to obtain the desired data, and this is causing confusion.

begin with this section of the documentation and it should answer your questions.

https://developer.genesys.cloud/analyticsdatamanagement/analytics/aggregate/