ReferenceChat
Create Feedback
Create feedback on a message or turn.
Path Parameters
thread_id*string
Format
uuidHeader Parameters
authorization?|
X-API-Key?|
Cookie Parameters
vai_token?|
Request Body
application/json
comment?|
messageId?|
rating*string
User feedback rating on assistant responses.
Value in
"positive" | "negative"turnId?|
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/chat/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08/feedback" \ -H "Content-Type: application/json" \ -d '{ "rating": "positive" }'{
"comment": "string",
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"id": "string",
"messageId": "string",
"rating": "positive",
"threadId": "string",
"turnId": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}