query_raw
Retrieve archived Garmin health fields that processed daily queries cannot represent, such as event logs and lists, when you need to interpret raw values yourself.
Instructions
Query archived Garmin data as stored in raw/, without value extraction, for fields the processed tools cannot reduce to a daily value (lists, event logs). Interpreting the content is up to the caller, and no units are provided. Use query_health instead whenever the data you need exists there: three of these fields have a processed counterpart there for everyday questions (floors: floors_climbed, daily_weigh_ins: body_weight, intensity_minutes_data: intensity_min_moderate and intensity_min_vigorous).
field: one of the raw field names (health domain only; these are NOT listed by list_available_fields): daily_weigh_ins, menstrual_calendar_data, pregnancy_summary, lifestyle_logging_data, nutrition_daily_food_log, nutrition_daily_meals, nutrition_daily_settings, floors, intensity_minutes_data, body_battery_events, lactate_threshold, running_tolerance. date_from/date_to: ISO "YYYY-MM-DD", inclusive. domain: only "health" holds raw data.
Only the requested field is returned. A field name that is almost right is corrected automatically (_meta.field_resolved_from / field_used show the substitution); an unknown name returns an error, with did_you_mean when similar names exist. A domain other than "health" returns an error.
Result: {"health": {field: {"values": [{"date": ..., "raw": ...}], "source_resolution": "raw"}}}. A day that is not in the archive has no entry; an archived day with nothing stored for the field has "raw": null. Read-only; does not change the archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| domain | No | ||
| date_to | Yes | ||
| date_from | Yes |