Health

Generate a configurable PDF health report

User selects which sections to include and a date range. Returns application/pdf binary. Generation time: 2–8 seconds. Sections: weight_body_composition, health_improvements, activity_movement, nutrition_logs, journey_timeline.

post/api/health/report/export

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/health/report/export
  • Auth
    HTTP bearer

Request body

sectionsstring[] required

Sections to include in the PDF. At least one required.

Example request

{
  "sections": [
    "weight_body_composition",
    "health_improvements"
  ],
  "date_range": {
    "from": "2025-11-11",
    "to": "2026-05-14"
  }
}

Changes

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