log_meal
Log
Log what you ate with calories and macros — plus fiber, total sugar, alcohol and caffeine when the numbers are there. Describe it in plain language — the AI estimates the numbers, asks about portion size when it's unclear, and can pull label data from a barcode or the web first.
-
descriptionrequired — What was eaten -
meal_typerequired — breakfast, lunch, dinner or snack -
caloriesoptional — Total calories -
protein_goptional — Protein in grams -
carbs_goptional — Carbohydrates in grams -
fat_goptional — Fat in grams -
fiber_goptional — Dietary fiber in grams. The AI is told to fill this in on every meal, estimating from the ingredients when no label figure exists, because a blank is not a zero — it leaves the whole day out of your fiber average -
sugar_goptional — Total sugars in grams — the figure a label prints under "Sugars", including the sugar naturally in fruit and milk, not just added sugar. Filled in on every meal on the same terms as fiber -
alcohol_goptional — Grams of pure ethanol, not the volume of the drink and not its ABV — the AI works it out from the pour size and strength (a 330 ml 5% beer is 13 g) -
caffeine_mgoptional — Caffeine in milligrams, not grams — the one field here that isn't in grams, because that is how every label and guideline states it (a brewed coffee is about 95 mg, an espresso 63 mg, a can of cola 34 mg). Caffeine adds no calories. Unlike fiber and sugar it is only sent for things that actually contain caffeine — a recorded 0 would put a caffeine row on your dashboard for a nutrient you never consume -
logged_atoptional — When you ate it, if not now — lets you log something after the fact -
notesoptional — Additional notes
Log a chicken burrito bowl with extra guac for lunch
…or just snap a photo of your plate — the AI names each dish, sizes portions in everyday measures (a glass, a handful), checks how you've logged it before, and confirms with you before logging.