Skip to content

Nutrition

Stream: snapshot | Event type: nutrition

A food or calorie intake log entry. Water intake is tracked independently via Hydration.

{
"event_type": "nutrition",
"data_version": "1.1",
"source_id": "h8i9j0k1...",
"provider_ref": "meal-012",
"device_id": null,
"payload_ts": 1742558400000,
"revision": 1,
"capture_mode": null, "logged_at": 1742558400000,
"meal_type": "lunch",
"calories_kcal": 650,
"protein_g": 35,
"carbohydrates_g": 80,
"fat_g": 20,
"fiber_g": 8,
"sodium_mg": 800
}

| Field | Type | Unit | Description | |-------|------|------|-------------| | logged_at | number \| null | epoch ms | When the meal was logged or consumed. | | meal_type | string \| null | — | Type of meal. | | calories_kcal | number \| null | kcal | Total calories. | | protein_g | number \| null | grams | Protein. | | carbohydrates_g | number \| null | grams | Carbohydrates. | | fat_g | number \| null | grams | Fat. | | fiber_g | number \| null | grams | Dietary fiber. | | sodium_mg | number \| null | mg | Sodium. |

| Value | Description | |-------|-------------| | "breakfast" | Morning meal. | | "lunch" | Midday meal. | | "dinner" | Evening meal. | | "snack" | Between-meal snack. | | "other" | Other or unclassified. |