Skip to Content
Docs
APIπŸ§ͺ REST EndpointsConversations

Submit feedback for a conversation

POST
/api/feedback

Submit feedback for a conversation.

Personal access token scope: conversations:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
answer?string

The AI answer

api_key?string

Optional API key

conversation_id*string

id of the particular conversation

feedback*string

User feedback

question?string

The user question

question_index*integer

The question number in that particular conversation

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/feedback' \  -H 'Content-Type: application/json' \  -d '{  "conversation_id": "string",  "feedback": "string",  "question_index": 0}'
Example Response200
Empty