Skip to main content
Update or provide feedback for a specific message in a session.

Request Body

The request body must match the AmasMessageFeedbackSerializer schema.
message
string
required
The UUID of the message.
rating
integer
The rating given to the message (e.g., 1 for thumbs up, -1 for thumbs down).
comment
string
Optional text feedback or reasoning.
curl -X POST https://api.artaios.ai/api/v1/sessions/feedback/ \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"message": "msg_123", "rating": 1, "comment": "Great answer!"}'

Response

Returns the updated feedback object.