Progress & Tracking

Get all activity for a specific date

get/api/day-details/{date}

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/day-details/{date}
  • Auth
    HTTP bearer

Path parameters

datestring required

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "date": "2026-02-19",
  "foodLogs": [
    {
      "id": 101,
      "food_name": "Grilled Chicken",
      "calories": 180,
      "protein": 35,
      "meal_number": 2,
      "log_time": "12:30:00"
    }
  ],
  "waterLogs": [
    {
      "id": 1,
      "amount_oz": 16,
      "log_date": "2026-02-19"
    }
  ],
  "weightEntries": [
    {
      "id": 1,
      "user_id": 5,
      "weight": "185.5",
      "recorded_at": "2026-02-19T08:00:00.000Z"
    }
  ],
  "measurements": [],
  "progressPhotos": [
    {
      "id": 1,
      "user_id": 5,
      "image_url": "https://d1234abcd.cloudfront.net/progress-photos/5/1740000000000-123456789.jpg?Policy=...&Signature=...&Key-Pair-Id=K1234",
      "photo_date": "2026-02-19",
      "notes": "Week 4 check-in",
      "weight": 185.5,
      "weight_recorded_at": "2026-02-19T08:00:00.000Z"
    }
  ],
  "vibeLogs": [
    {
      "id": 1,
      "vibe": "motivated",
      "emoji": "💪",
      "timestamp": "2026-02-19T09:00:00.000Z"
    }
  ],
  "supplements": [
    {
      "supplement": {
        "id": 1,
        "name": "Vitamin D",
        "type": "preset"
      },
      "log": {
        "id": 5,
        "taken": true
      }
    },
    {
      "supplement": {
        "id": 2,
        "name": "Iron",
        "type": "preset"
      },
      "log": null
    }
  ],
  "totals": {
    "calories": 1420,
    "protein": 110,
    "carbs": 130,
    "fat": 45,
    "fiber": 22,
    "water": 64
  },
  "measurementSummary": {
    "weight": 185.5,
    "measurements": null
  }
}

Changes

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