Water & Vitamins

Get vitamin checklist + taken status for a date

get/api/log/vitamins

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

Query parameters

datestring
Example:2026-02-19

Headers

x-timezonestring required

Response

unknown required

Example response

{
  "success": true,
  "date": "2026-02-19",
  "vitamins": [
    {
      "supplement": {
        "id": 1,
        "user_id": null,
        "name": "Bariatric multivitamins",
        "type": "preset",
        "recommended_dose": null
      },
      "log": {
        "id": 5,
        "taken": true,
        "log_date": "2026-02-19"
      }
    },
    {
      "supplement": {
        "id": 2,
        "user_id": null,
        "name": "Iron",
        "type": "preset",
        "recommended_dose": null
      },
      "log": null
    },
    {
      "supplement": {
        "id": 8,
        "user_id": 5,
        "name": "MyVitamin",
        "type": "custom",
        "recommended_dose": "1 cap"
      },
      "log": null
    }
  ]
}

Changes

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