Chats
Send feedback on a chat
Send feedback on a specific chat.
POST
/
chats
/
{chat}
/
feedback
Copy
curl --request POST \
--url https://api.vectorify.ai/v1/chats/{chat}/feedback \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"feedback": "<string>"
}'
Copy
{
"data": {
"id": "<string>",
"name": "<string>",
"tenant": 123,
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"created_at": "<string>",
"messages": [
{
"id": "<string>",
"chat_id": "<string>",
"role": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"text": "<string>",
"text_html": "<string>",
"identifier": "<string>",
"feedback": "<string>",
"created_at": "<string>"
}
]
}
}
Authorizations
Path Parameters
The chat ID
Body
application/json
Response
201
application/json
Chat
The response is of type object
.
Was this page helpful?
Copy
curl --request POST \
--url https://api.vectorify.ai/v1/chats/{chat}/feedback \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"feedback": "<string>"
}'
Copy
{
"data": {
"id": "<string>",
"name": "<string>",
"tenant": 123,
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"created_at": "<string>",
"messages": [
{
"id": "<string>",
"chat_id": "<string>",
"role": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"avatar": "<string>",
"created_at": "<string>"
},
"text": "<string>",
"text_html": "<string>",
"identifier": "<string>",
"feedback": "<string>",
"created_at": "<string>"
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.