Submit Chat Feedback
Record visitor feedback on a specific AI assistant answer. Feedback feeds the AI insights dashboard and helps identify low-quality answers and documentation gaps.
Path Parameters
The project ID.
The ID of the assistant message being rated (provided in the chat stream's final event).
Request Body
Either thumbs_up or thumbs_down.
Example
curl -X POST https://api.syntext.dev/v1/projects/prj_abc123/chat/feedback/msg_456 \
-H "Content-Type: application/json" \
-d '{ "feedback": "thumbs_down" }'
Response
{ "ok": true }