# Get data from the database **POST /api/v2/fetch/{method}** Get data from the database. ## Servers - https://api.hcgateway.shuchir.dev: https://api.hcgateway.shuchir.dev () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **method** (string) Can be one of the following: activeCaloriesBurned, basalBodyTemperature, basalMetabolicRate, bloodGlucose, bloodPressure, bodyFat, bodyTemperature, boneMass, cervicalMucus, distance, exerciseSession, elevationGained, floorsClimbed, heartRate, height, hydration, leanBodyMass, menstruationFlow, menstruationPeriod, nutrition, ovulationTest, oxygenSaturation, power, respiratoryRate, restingHeartRate, sleepSession, speed, steps, stepsCadence, totalCaloriesBurned, vo2Max, weight, wheelchairPushes ### Body: application/json (object) - **queries** (object | null) Queries to use to filter the data. Must be a valid mongodb query. See https://www.mongodb.com/docs/languages/python/pymongo-driver/current/read/specify-a-query/ for more information. ## Responses ### 200 #### Body: application/json (array[object]) - **_id** (string) The id Health Connect stored the object with. - **data** (object) The actual data stored in Health Connect - **id** (string) - **start** (string(date-time)) The start time of the data - **end** (string(date-time) | null) The end time of the data. Only present if the data is a time-series. - **app** (string) The app that created the data [Powered by Bump.sh](https://bump.sh)