Water & Vitamins

Get water logs for a date

get/api/log/water

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/log/water
  • Auth
    HTTP bearer

Query parameters

datestring
Example:2025-01-15

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "logs": [
    {
      "id": 1,
      "user_id": 5,
      "amount_oz": 16,
      "log_date": "2026-02-19",
      "created_at": "2026-02-19T08:00:00.000Z"
    },
    {
      "id": 2,
      "user_id": 5,
      "amount_oz": 20,
      "log_date": "2026-02-19",
      "created_at": "2026-02-19T12:00:00.000Z"
    }
  ],
  "totalOz": 36
}

Changes

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