v3

OpenAPI 3.1.02026-08-06274467602.9 KB
chat

Submit Chat Feedback

Receives and processes feedback for a specific chat message via the ChatService.

Args: request: The feedback request data. chat_service: The ChatService instance (dependency).

Returns: A confirmation response.

Raises: HTTPException: 400 if saving feedback fails (e.g., invalid data). HTTPException: 500 for unexpected errors.

post/api/v1/chat/feedback

Request body

message_idstring required

The ID of the message being rated.

feedback_type'positive' | 'negative' required

Type of feedback ('positive' or 'negative').

feedback_textstring nullable

Optional free text feedback.

project_idstring nullable

Optional project ID.

Response

Successful Response

statusstring
messagestring