timeseries

Carbohydrates

get/v2/timeseries/{user_id}/carbohydrates/grouped

Path parameters

user_idstring uuid required

Query parameters

cursorstring nullable

The cursor for fetching the next page, or null to fetch the first page.

The cursor for fetching the next page, or null to fetch the first page.

next_cursorstring nullable

The cursor for fetching the next page, or null to fetch the first page.

The cursor for fetching the next page, or null to fetch the first page.

providerstring

Provider oura/strava etc

Provider oura/strava etc

start_datestring required

Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00

Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00

end_datestring nullable

Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59

Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59

Response

Successful Response

groupsobject required

For each matching provider or lab, a list of grouped timeseries values.

nextstring nullable

The cursor for fetching the next page, or null if there is no more data.

next_cursorstring nullable

The cursor for fetching the next page, or null if there is no more data.

Example response

{
  "groups": {
    "oura": [
      {
        "data": [
          {
            "end": "2023-02-13T14:30:52+00:00",
            "start": "2023-02-13T14:30:52+00:00",
            "unit": "g",
            "value": 30
          }
        ],
        "source": {
          "provider": "oura",
          "type": "ring"
        }
      }
    ]
  }
}

Changes

Changed in 1 of the 136 revisions of this API.3

    • ●

      removed the optional property //// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property //// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property //// from the response with the status

      response-optional-property-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog