Skip to main content

SessionData

Represents historical input data for a single user, providing a comparative baseline for model predictions.

HR_day_1hnumber[]

Heart-rate samples (bpm) collected during the 1-hour window before making the prediction

RR_day_1hnumber[]

Respiratory-rate samples (breaths/min) collected during the 1-hour window before making the prediction

HR_nightnumber[]

Heart-rate samples (bpm) recorded during the night.

RR_nightnumber[]

Respiratory-rate samples (breaths/min) recorded during the night.

sleepTimeSecondsSleeptimeseconds

Total time spent asleep (seconds) during the night, including all sleep stages and any awake periods during the sleep window.

Default value: 0
deepPercentageDeeppercentage

Fraction of total sleep time spent in deep (slow-wave) sleep, expressed as a value in [0, 1].

Default value: 0
remPercentageRempercentage

Fraction of total sleep time spent in REM sleep, expressed as a value in [0, 1].

Default value: 0
lightPercentageLightpercentage

Fraction of total sleep time spent in light sleep, expressed as a value in [0, 1].

Default value: 0
awakeSleepSecondsAwakesleepseconds

Total time (seconds) the user was awake during the monitored sleep window (e.g. nocturnal awakenings).

Default value: 0
deepSleepSecondsDeepsleepseconds

Total time (seconds) spent in deep (slow-wave) sleep.

Default value: 0
lightSleepSecondsLightsleepseconds

Total time (seconds) spent in light sleep (N1 + N2 stages).

Default value: 0
remSleepSecondsRemsleepseconds

Total time (seconds) spent in REM sleep.

Default value: 0
ageAge

User's age

Default value: 0
height_cmHeight Cm

User's height in centimetres.

Default value: 0
weight_kgWeight Kg

User's body weight in kilograms.

Default value: 0
sex object

User's biological sex. Expected values: 'M' (male) or 'F' (female). None if not provided.

anyOf
string
SessionData
{
"HR_day_1h": [
72.5,
74.1
],
"HR_night": [
60.2,
61
],
"RR_day_1h": [
16,
15.8
],
"RR_night": [
14.5,
14
],
"age": 35,
"awakeSleepSeconds": 600,
"deepPercentage": 0.2,
"deepSleepSeconds": 5760,
"height_cm": 175,
"lightPercentage": 0.55,
"lightSleepSeconds": 15840,
"remPercentage": 0.25,
"remSleepSeconds": 7200,
"sex": "M",
"sleepTimeSeconds": 28800,
"weight_kg": 72.5
}