Heart Rate
Use the heartRateLogs
query to obtain the total records of the "heart rate log" logged by the user for the specified date range.
Required Arguments
Argument
Type
Description
start
Date!
The starting date of the defined date range. Use the format: YYYY-MM-DD
end
Date!
The end date of the defined date range. Use the format: YYYY-MM-DD
first
Int
Retrieves the first results from the list.
after
String
It takes the cursor type and retrieves results after that position.
id
ID
Id of desired tracking record.
source
Source of input, default is set to suggestic. enum SourceType { APPLE FITBIT GARMIN GOOGLEFIT_NATIVE GOOGLEFIT_REST HUAWEIHEALTH IHEALTH MISFIT OMRONCONNECT OMRONWELLNESS OURA POLAR SAMSUNG STRAVA SUGGESTIC SUUNTO WITHINGS }
Available Fields
Field Name
Type
Description
id
Int!
Id of the heart rate log.
value
PositiveInt!
Heart rate registered value.
timestamp
Float!
Heart rate log timestamp YYYY-MM-DDT hh:mm:ssZ
createdAt
Int!
Date the user logged their hear rate log YYYY-MM-DDT hh:mm:ssZ
source
DateTime!
Source of input, default is set to suggestic. enum SourceType { APPLE FITBIT GARMIN GOOGLEFIT_NATIVE GOOGLEFIT_REST HUAWEIHEALTH IHEALTH MISFIT OMRONCONNECT OMRONWELLNESS OURA POLAR SAMSUNG STRAVA SUGGESTIC SUUNTO WITHINGS }
Example
Last updated