Kind of depends on your use case. Take a look here to get started:
https://developer.genesys.cloud/analyticsdatamanagement/analytics/integration-guide
But if this is to extract all the conversations and put them in your own DB for example, Then I would say use the Job APIs as per the above guide.
The API lets you apply filters, like the date range, the queues, division, direction, media type etc. Or just grab it all and process it afterwards.
This does get the results asyncronously, so you do need to check for the status of the job, and then fetch the results once done as separate API calls:
GET /api/v2/analytics/conversations/details/jobs/{jobId}
GET /api/v2/analytics/conversations/details/jobs/{jobId}/results
------------------------------
Anton Vroon
------------------------------