Skip to content

User Get Metadata

François Dupont edited this page Jun 1, 2026 · 15 revisions

Endpoint:

  • /get/user/meta/
  • HTTP Method: GET

Parameters :

  • limit: integer, optional, default = 15 : maximum number of values returned for each metrics type
  • from: string, optional, date format: "YYYY-MM-DD" : get all metrics after this date
  • to: string, optional, date format: "YYYY-MM-DD", can be combined with from : get all metrics before this date
  • athlete_id: integer, optional, default = current user. Can be used to retrieve data from one of your managed athletes. You can retrieve the ids with the Get Athletes route.

Example:

Production:
https://www.nolio.io/api/get/user/meta/?limit=20

Returns: An athlete’s metrics, grouped by metric type.

See Metric

Dates are in YYYY-MM-DD format.

Hours are in HH:MM format (H in [0..23], M in [0..59]), or an empty string "" when no hour is set.

Each data point carries:

  • id: the metric primary key
  • date, hour, value
  • source: the origin of the value — a third-party connector (Suunto, Oura, withings…), a Nolio-internal origin (dynamic for formula-computed, csv_import…), or null when no origin is recorded (typical manual entry)
{
   "weight":{
      "unit":"kg",
      "data":[
         {
            "id":120045,
            "date":"2021-02-05",
            "hour":"13:30",
            "value":55.7,
            "source":"withings"
         },
         {
            "id":118903,
            "date":"2020-07-28",
            "hour":"",
            "value":56.5,
            "source":null
         },
         {
            "id":117560,
            "date":"2020-05-03",
            "hour":"",
            "value":57.0,
            "source":null
         }
      ]
   },
   "hrmax":{
      "unit":"bpm",
      "data":[
         {
            "id":98012,
            "date":"2019-02-21",
            "hour":"",
            "value":176.0,
            "source":null
         }
      ]
   },
   "sleep":{
      "unit":"seconds",
      "data":[
         {
            "id":134220,
            "date":"2020-04-07",
            "hour":"10:00",
            "value":30600.0,
            "source":"Garmin"
         },
         {
            "id":134221,
            "date":"2020-04-07",
            "hour":"14:25",
            "value":4200.0,
            "source":"Garmin"
         },
         {
            "id":133870,
            "date":"2020-03-23",
            "hour":"",
            "value":32400.0,
            "source":"Oura"
         }
      ]
   },
   "hrrest":{
      "unit":"bpm",
      "data":[
         {
            "id":95110,
            "date":"2019-01-14",
            "hour":"",
            "value":48.0,
            "source":null
         }
      ]
   },
   "aerobicspeed":{
      "unit":"km/h",
      "data":[
         {
            "id":140233,
            "date":"2021-04-15",
            "hour":"",
            "value":16.5,
            "source":null
         },
         {
            "id":138901,
            "date":"2020-07-16",
            "hour":"",
            "value":15.5,
            "source":null
         }
      ]
   },
   "ftp":{
      "unit":"W",
      "data":[
         {
            "id":130044,
            "date":"2020-12-09",
            "hour":"",
            "value":182.0,
            "source":null
         }
      ]
   },
   "criticalpowercycling":{
      "unit":"W",
      "data":[
         {
            "id":132001,
            "date":"2021-01-07",
            "hour":"",
            "value":183.0,
            "source":"dynamic"
         },
         {
            "id":130045,
            "date":"2020-12-09",
            "hour":"",
            "value":176.0,
            "source":"dynamic"
         }
      ]
   },
   "wbalcycling":{
      "unit":"J",
      "data":[
         {
            "id":132002,
            "date":"2021-01-07",
            "hour":"",
            "value":10800.0,
            "source":"dynamic"
         },
         {
            "id":130046,
            "date":"2020-12-09",
            "hour":"",
            "value":19200.0,
            "source":"dynamic"
         }
      ]
   }
}

Clone this wiki locally