---
title: "[Diagnostic] Admin-only. Run chat respond() for any user ID and return the AI response. Timing logs appear in PM2 under [CHAT PERF]."
method: POST
path: "/api/ai/diagnose-chat"
tags: ["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 URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/ai/diagnose-chat`
- Auth: HTTP bearer

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
