Skip to main content

ModelPayload

current_session object

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
past_targets object[]

Historical prediction targets (max 5 entries) representing cognitive performance metrics from previous sessions

Possible values: <= 5

  • Array [
  • stressStress

    Predicted stress level, expressed as a value in [0, 100]

    Default value: 0
    memoryMemory

    Predicted memory performance, expressed as a value in [0, 100]

    Default value: 0
    reasoningReasoning

    Predicted reasoning ability, expressed as a value in [0, 100]

    Default value: 0
    attentionAttention

    Predicted verbal performance, expressed as a value in [0, 100]

    Default value: 0
    C_SCOREC Score

    Predicted composite cognitive performance score, expressed as a value in [0, 100]

    Default value: 0
    valenceValence

    Predicted emotional valence, expressed as Low or High

    Default value: N/A
    arousalArousal

    Predicted emotional arousal, expressed as Low or High

    Default value: N/A
  • ]
  • past_sessions object[]

    Historical session data (max 5 entries) corresponding to past_targets.

    Possible values: <= 5

  • Array [
  • 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
  • ]
  • ModelPayload
    {
    "current_session": {
    "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
    },
    "past_sessions": [
    {
    "HR_day_1h": [
    70,
    71.5
    ],
    "HR_night": [
    58,
    59
    ],
    "RR_day_1h": [
    15.5,
    15
    ],
    "RR_night": [
    14,
    13.5
    ],
    "age": 35,
    "awakeSleepSeconds": 300,
    "deepPercentage": 0.18,
    "deepSleepSeconds": 4536,
    "height_cm": 175,
    "lightPercentage": 0.6,
    "lightSleepSeconds": 15120,
    "remPercentage": 0.22,
    "remSleepSeconds": 5760,
    "sex": "M",
    "sleepTimeSeconds": 25200,
    "weight_kg": 72.5
    },
    {
    "HR_day_1h": [
    68.5,
    70
    ],
    "HR_night": [
    57,
    58
    ],
    "RR_day_1h": [
    15,
    14.5
    ],
    "RR_night": [
    13.5,
    13
    ],
    "age": 35,
    "awakeSleepSeconds": 400,
    "deepPercentage": 0.19,
    "deepSleepSeconds": 5130,
    "height_cm": 175,
    "lightPercentage": 0.61,
    "lightSleepSeconds": 16470,
    "remPercentage": 0.2,
    "remSleepSeconds": 5400,
    "sex": "M",
    "sleepTimeSeconds": 27000,
    "weight_kg": 72.5
    }
    ],
    "past_targets": [
    {
    "C_SCORE": 0.82,
    "arousal": "High",
    "attention": 0.78,
    "inference_time_ms": 60.5,
    "memory": 0.85,
    "reasoning": 0.4,
    "stress": 0.75,
    "valence": "High"
    },
    {
    "C_SCORE": 0.78,
    "arousal": "Low",
    "attention": 0.7,
    "inference_time_ms": 55.2,
    "memory": 0.8,
    "reasoning": 0.45,
    "stress": 0.65,
    "valence": "High"
    }
    ]
    }