Coach
AI-generate a personalized coach note (requires OpenAI)
post/api/coach/generate-note
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/coach/generate-note
- AuthHTTP bearer
Request body
Example request
{
"clientId": 5,
"context": "Focus on protein intake progress"
}Response
unknown required
Example response
{
"success": true,
"note": "Jane, you crushed it this week! Your 5-day logging streak shows real commitment. Your protein is averaging 112g — just 8g shy of your 120g goal. Focus on adding a protein shake or Greek yogurt to close that gap. Keep going!"
}Changes
No recorded changes to this operation across all 34 revisions of this API.