AI Coach
[Diagnostic] Admin-only. Run chat respond() for any user ID and return the AI response. Timing logs appear in PM2 under [CHAT PERF].
post/api/ai/diagnose-chat
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/ai/diagnose-chat
- AuthHTTP bearer
Response
unknown required
Example response
{
"success": true,
"response": "Coach reply text...",
"diagnosticNote": "Check PM2 logs for [CHAT PERF] user=123 breakdown"
}Changes
No recorded changes to this operation across all 34 revisions of this API.