To query a user's data all you need to do is use their bearer token in a GET request to one of the Aidlab API endpoints. A standard query looks like this:
GET /api/sessions/{dataType}
Which will returns an array of samples for given dataType.
dataType