Up/down vote AI response
POST
/
backend
/
chat
/
vote
/
:message_id
This endpoint allows you to upvote or downvote an AI response. It is used to calculate the quality of the AI response and to provide feedback on the AI response.
If the message has already been voted on, it will be downvoted and the other way around.
Body
message_id
integer
The ID of the message to vote on
Headers
header
string
application/json
header
string
The bot token (to not be confused with the Auth token or the copilot/organization ID) — you can get this from the dashboard -> settings -> Token
Response
message
string
Indicates whether the call was successful.
Was this page helpful?