Oura: New Metrics Added

As of June 11, 2024, the following Inform API metrics will be populated when users grant access to the required scopes and data is provided by Oura. This data will appear in the resources listed below when captured by the Oura integration.

Inform MetricResourceData TypeStandard UnitRequired Oura Scope(s)
avg_spo2summariesfloatpercent"Sleep, Readiness and Activity Data", "SpO2 Data"
body_temperature_deviationsummariesfloatC"Sleep, Readiness and Activity Data"
distanceworkoutsfloatm"Workout Data"
energy_burnedworkoutsfloatkCal"Workout Data"
workout_durationworkoutsfloats"Workout Data"
avg_heart_ratesleepintegerbpm"Sleep, Readiness and Activity Data", "Heart Rate Data"
awake_durationsleepfloats"Sleep, Readiness and Activity Data"
deep_sleepsleepfloats"Sleep, Readiness and Activity Data"
heart_rate_variabilitysleepfloatms"Sleep, Readiness and Activity Data"
in_bed_durationsleepfloats"Sleep, Readiness and Activity Data"
light_sleepsleepfloats"Sleep, Readiness and Activity Data"
min_heart_ratesleepintegerbpm"Sleep, Readiness and Activity Data", "Heart Rate Data"
rem_sleepsleepfloats"Sleep, Readiness and Activity Data"
respiratory_ratesleepfloat--"Sleep, Readiness and Activity Data"
restless_countsleepintegercount"Sleep, Readiness and Activity Data"
sleep_durationsleepfloats"Sleep, Readiness and Activity Data"
sleep_scoresleepfloatpercent"Sleep, Readiness and Activity Data"
time_to_fall_asleepsleepfloats"Sleep, Readiness and Activity Data"

In the Validic Inform marketplace, Oura users have been prompted to provide all available Oura scopes. That behavior remains the same so some users may have already granted the scopes needed to retrieve this data.

Any users who are already connected to Oura will not be notified of any changes. If a connected user did not previously grant the needed permissions, then they must disconnect and reconnect to Oura if they want to share this new data with you. During Oura OAuth, users must grant access to the scopes listed in the table above before these new data points will be available to you in the Inform API.


Additionally, category mappings have been added for Oura workouts, as follows:

Oura ActivityValidic Category
Walkingwalking
Cyclingbiking
Runningrunning
Houseworkother
Yardworkother
Strength trainingstrength
Hikingwalking
Swimmingswimming
Tenniscardio
Cross-country skiingcardio
Ellipticalcardio
Dancecardio
Golfcardio
HIITcardio
Soccercardio
Cross-trainingcardio
Yogaother
Surfingother
Basketballcardio
Boxingcardio

An example excerpt of an Oura workouts record is shown below:

{
  "type":"workout",
...
  {
  "type":"workout",
  "name":"walking",
  "category":"walking",
  "start_time":"2023-01-14T14:14:00+00:00",
  "end_time":"2023-01-14T14:34:00+00:00",
  "origin_offset":"source",
  "source":{
    "type":"oura",
    "device":null
  },
  "metrics":[
    {
      "type":"energy_burned",
      "value": 63.98,
      "unit":"kcal",
      "origin":"device"
    },
    {
      "type":"distance",
      "value": 8,
      "unit":"m",
      "origin":"device"
    }
    {
      "type":"workout_duration",
      "value": 1200,
      "unit":"s",
      "origin":"device"
    },
  ],
  ....
}

An example excerpt of an Oura sleep record is shown below:

{
  "type":"sleep",
...
  "metrics": [
    {
      "type":"avg_heart_rate",
      "value": 68.5,
      "unit":"bpm",
      "origin":"device"
     },
     {
      "type":"awake_duration",
      "value": 6120,
      "unit":"s",
      "origin":"device"
     },
    {
      "type":"deep_sleep",
      "value": 2130,
      "unit":"s",
      "origin":"device"
     },
     {
      "type":"sleep_score",
      "value": 79,
      "unit":"percent",
      "origin":"device"
     },
    {
      "type":"time_to_fall_asleep",
      "value": 930,
      "unit":"s",
      "origin":"device"
     },
     {
      "type":"light_sleep",
      "value": 14250,
      "unit":"s",
      "origin":"device"
     },
    {
      "type":"min_heart_rate",
      "value": 55,
      "unit":"bpm",
      "origin":"device"
     },
     {
      "type":"rem_sleep",
      "value": 6900,
      "unit":"s",
      "origin":"device"
     },
    {
      "type":"restless_count",
      "value": 247,
      "unit":"count",
      "origin":"device"
     },
     {
      "type":"in_bed_duration",
      "value": 29400,
      "unit":"s",
      "origin":"device"
     },
    {
      "type":"sleep_duration",
      "value": 23280,
      "unit":"s",
      "origin":"device"
     }
  ]
}