HRV

Heart Rate Variability

Use the hrvLogs query to obtain the total records of the "HRV 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 HRV log.

value

PositiveFloat!

HRV registered value.

timestamp

Float!

HRV log timestamp YYYY-MM-DDT hh:mm:ssZ

createdAt

Int!

Date the user logged their HRV 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

query {
  hrvLogs(start:"2023-10-01" end:"2023-10-03" source:SUGGESTIC){
    edges{
      node{
        value
        timestamp
        createdAt
        source
        id
      }
    }
  }
}

Last updated