What is Unstructured Data?
Every data source reports health data in its own format. ROOK standardizes that data into structured fields, such as sleep duration or heart rate, so you can work with all sources the same way.
Unstructured Data gives you the source's original fields as well. They arrive inside non_structured_data_array, in the same event and summary JSONs you already receive.
Important: Unstructured Data is an add-on. It's only included in your payloads if it's enabled for your organization. To check whether you have it, contact the Customer Success team.
Where does it appear in the JSON?
non_structured_data_array sits at the same level as metadata inside each event or summary:
Summaries:
<pillar>.summary.<data_structure>.non_structured_data_arrayEvents:
<pillar>.events.<data_structure>[0].non_structured_data_array
Each item in the array includes source_of_data_string, which tells you which data source sent it.
What can it include?
The fields depend entirely on the data source. These are examples of what might appear:
Data Source | Examples of fields you may see |
Garmin | Stress levels, Body Battery, sleep scores, HRV values |
Oura | Daily activity contributors, sleep phases, readiness score |
Whoop | Recovery score, strain, sleep performance |
Withings | Device model, sleep latency, wake-up count |
Google Health | HRV, exercise metrics summary |
Apple Health, Health Connect | Mostly details about the app that recorded the data; Apple Health can include walking speed or wrist temperature |
You can find every field ROOK has seen in the array, organized by data source and data structure, in this document: Unstructured Data by Source
Why does the content vary?
The array shows what the source sent for that user, so its contents are not guaranteed. They can change depending on:
The data source. Sources connected through an API (for example Garmin or Oura) usually send many fields. Sources connected through the SDK (Apple Health, Health Connect) usually send few or none.
The device. Each watch model or phone records different metrics, so two users of the same source may receive different fields.
What the user recorded. If a metric wasn't measured, it won't appear.
The provider. Providers can add, rename or remove fields at any time.
The array can also arrive empty, and it is not included in Health Monitoring alerts.
Important: The examples in this article show the type of information that might appear. ROOK can't guarantee that any specific field will be present.
How should I use it in my integration?
Treat every field as optional, and handle an empty array.
Use source_of_data_string to identify where each item came from.
Expect values in the source's own format and units, not ROOK's standardized format.
Some sources include profile information, such as email, so treat this data as personal data.
How can I enable Unstructured Data?
To enable Unstructured Data for your organization, contact the Customer Success team. For background on structured and unstructured data, see the Definitions page.