List meals for a day
Returns the caller’s logged meals for a day, each with its food items, newest first.
/api/nutrition/meals__Secure-better-auth.session_tokenAPI key · cookierequiredBetter Auth session. Signing in (Google or email magic link) sets an HttpOnly session cookie that scopes every request to that account. The web app and CLI use this; agents use the OAuth 2.1 flow of the MCP server.
AuthorizationBearer token · headerrequiredPersonal API key sent as Authorization: Bearer skcal_…. Create and scope keys in the app under your profile → API keys. Keys default to full access; a scoped key is limited to its granted resource:action permissions and cannot manage other keys.
datestring<date>Day to list (YYYY-MM-DD). Defaults to the server's current UTC date.
Meals for the day, newest first.
Mealidstring<uuid>requiredMeal identifier.
notestring | nullrequiredMeal note or the original text description.
createdAtinteger<int64>requiredMeal creation time as a Unix epoch in milliseconds.
photoKeysstring[]requiredR2 object keys of the meal's photos.
itemsLoggedItem[]requiredFood items in the meal.
Show propertiesHide properties
LoggedItemidintegerrequiredAuto-increment food-item identifier.
namestringrequiredPersisted food item name.
kcalintegerrequiredStored calories for the portion.
proteinGnumberrequiredStored protein in grams.