---
title: "Chat Feedback"
method: POST
path: "/api/v1/tbpi/chat/feedback"
tags: ["TBPI Analysis"]
---

# Chat Feedback

`POST /api/v1/tbpi/chat/feedback`

## Request

- Base URL: `https://app.perlucem.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.perlucem.ai/api/v1/tbpi/chat/feedback`
- Auth: HTTP bearer

Record feedback for a chat response — rating + optional comment.

## Request body

- ChatFeedbackRequest
  - `message_id` string, nullable
  - `chat_session_id` string, nullable
  - `rating` integer, required
  - `comment` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/perlucem/apis/perlucem-ai-backend.md) · [All operations](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/revisions/e1830fb27394?raw)
