This web service allows users with the AI_USER role to rate a Chatbot conversation.
- This web service relies on the use of a Chatbot AI profile. See Create an AI profile.
- The Chatbot component calls the Retrieval-augmented generation (RAG) web service.
- It is necessary to provide an
Ft-Calling-Appvalue when using Fluid Topics web services. See Fluid Topics calling app.
| Method | Endpoint |
|---|---|
POST |
|
| Path parameter | type | Required? | Description |
|---|---|---|---|
conversationId |
String | Yes | The ID of the chatbot conversation to rate. Get an ID using the Search Chatbot traces web service, or in the Chatbot traces administration menu. |
Request example
The following examples shows a JSON request body without tags:
{
"profileId": "chatbot",
"value": "1",
"comment": "Great response!",
}
The following examples shows a JSON request body with tags:
{
"profileId": "chatbot",
"value": "0",
"comment": "The chatbot answer didn't find the right information, and was a bit slow.",
"tags": [
"INACCURATE",
"SLOW"
]
}
| Field | Type | Required? | Description |
|---|---|---|---|
profileId |
String | Yes | A profileId of type CHATBOT. |
value |
String | Yes | The value of the feedback. 0 is negative, and 1 is positive. |
comment |
String | Yes | A comment associated with the rating. Comments are limited to 5000 characters. |
tags |
Array | No | A list of issues associated with negative feedback. It is only possible to add a tag if the value field is 0.Possible values are:
|
| Return code | Description |
|---|---|
200 OK |
The chatbot rating has been successfully sent. |
400 Bad Request |
Invalid JSON request body, or the requested action is impossible. |
For a comprehensive list of all possible return codes, see Return codes.
Chatbot ratings are currently only available through the Retrieve events web service.
Call the Retrieve events web service using the following JSON body, for example:
{
"startDate": "2026-04-29",
"filters": {
"name": [
"chatbot.rate"
]
}
}