Coach

Day-level counterpart to food-logs/:logId/review (REW-702) — coach feedback on a client's whole day of logging instead of one entry. Day and per-entry reviews coexist and both surface to the client. Saves coach_feedback/reviewed_by/reviewed_at on a food_day_reviews row keyed by (clientId, date) — re-reviewing the same day updates that row rather than creating a duplicate. Also sends a chat message + push to the client. Requires coach_data_consent_at.

patch/api/coach/clients/{id}/food-logs/day-review/{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/coach/clients/{id}/food-logs/day-review/{date}
  • Auth
    HTTP bearer

Path parameters

idnumber required
datestring required

Request body

feedbackstring required

Example request

{
  "feedback": "Solid day overall — protein was a bit light at dinner."
}

Response

unknown required

Example response

{
  "success": true,
  "message": "Day reviewed",
  "logDate": "2026-08-05"
}

Changes

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