Hey,
In this case, you should use our Webhook Terra API! Upon activity completion, you will get a webhook detailing the activity including a significant number of data points.
The Websocket API, can be used to stream heart rate data from a wearable in real time, but is not used for getting stored data from Google Health - this is where our REST api comes in