Progress & Tracking

Generate a new logging goal targeting the least-logged meal

post/api/logging-goal

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/logging-goal
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "data": {
    "id": 1,
    "goalText": "Your most logged meal is Breakfast. Your least logged meal is Dinner. Let's try to get dinner logs increased by 50%!",
    "targetMeal": "dinner",
    "targetIncreasePercent": 50,
    "progressPercent": 0,
    "progressLabel": "Just started!",
    "setDate": "2025-12-03T00:00:00.000Z"
  }
}

Changes

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