Progress & Tracking

Get 7-day insights: meals logged %, foods logged, top emotion

get/api/weekly-summary

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/weekly-summary
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "period": {
    "from": "2026-02-13",
    "to": "2026-02-19"
  },
  "mealsLoggedPercent": 71,
  "foodsLogged": 45,
  "mealsLoggedCount": 42,
  "mostLoggedEmotion": {
    "vibe": "motivated",
    "emoji": "💪",
    "count": 4
  }
}

Changes

No recorded changes to this operation across all 34 revisions of this API.