Activity and Exercise
The exerciseTracker
query helps you to get the total time of registered activity minutes the user has recorded in the given date range.
Required Arguments
Argument
Type
Description
start
DateTime!
The starting date when the exercise will be counted. Use the format: YYYY-MM-DDT hh:mm:ssZ
end
DateTime!
The end date when the exercise will be counted. Use the format: YYYY-MM-DDT hh:mm:ssZ
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 the exercise record.
source
String
Source of input, default is set to suggestic.
Available Fields
Field Name
Type
Description
dailyGoal
Int
Daily Exercise Goal in min.
totalTime
Int
Total Exercise time in min
hasNextPage
Boolean
Displays whether there are results in the connection after the current segment.
hasPreviousPage
Boolean
Displays whether there are results in the connection before the current segment.
dateTime
DateTime!
Date of record YYYY-MM-DDT hh:mm:ssZ
durationMinutes
Int!
Sleep quality index scaling from 0 to 100, where the values above 77 signify good sleep quality, while those below 77 signify poor sleep quality
source
String
Source of input, default is set to suggestic.
id
ID!
Id of the record.
intensity
ExerciseIntensity!
Exercise Intensity: LOW, MODERATE, VIGOROUS
type
ExerciseType!
Exercise Type: BREATHWORK, CARDIO, CYCLE, DANCE, HIKE, JOG_OR_RUN, OTHER, PILATES, RECOVERY, STRENGTH, STRETCH, SWIM, WALK, WORKOUT_ROUTINE, YOGA
calories
Int
Calories burned.
totalTimeperType
DailyExerciseTime
DailyExerciseTime Obj.
totalTimperType.totalTime
Int!
Total time in min.
totalTimperType.type
String
Type: STRENGHT, CARDIO
Example
Last updated