| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/<AppId>/search/feedback |
| Content-Type | application/json |
| Authorization | auth: <JWT Token> |
| API Scope | Feedback for Search AI |
Query Parameters
| Parameter | Description | Mandatory |
|---|---|---|
AppID | Your application ID. To view it, go to Dev Tools under App Settings and check the API scopes. | Yes |
Request Parameters
| Parameter | Description | Mandatory |
|---|---|---|
searchRequestId | The search request ID returned with the answer in response to a search query. Starts with fsh, for example fsh-a7dd595f-xxxx-xxxx-9b1c-7635d6ea113c. | Yes |
feedbackLevel | Currently supports only smartAnswer. | Yes |
event | The feedback response: thumbsDown (negative) or thumbsUp (positive). | Yes |
comments | Optional user comments. Use the tags field to pass an array of strings. These values are displayed in the Answer Insights details page. | No |