Request body
2xx with no meaningful body.
The numeric
5 and 1 from older SDK versions are still accepted and mapped to up and down. Any other number is rejected — a 3 used to be stored, counted in neither the positive nor the negative rollup, and read back as no vote at all.Replacing and withdrawing a vote
A message holds at most one vote. Posting a second replaces the first, so switching from 👍 to 👎 leaves one opinion on record rather than two, and analytics can’t count the same answer on both sides.DELETE /public/feedback/:messageId withdraws it.
Where feedback goes
- Analytics — positive/negative ratios per knowledge base, per day.
- Knowledge gaps — negatively-rated and unanswered questions feed the gap report (
GET /api/v1/knowledge-bases/:id/analytics/gaps), telling your team what to document next. - Retrieval boosting — feedback signals improve future ranking.
- Evals — sampled answers are additionally scored by LLM judges for groundedness and faithfulness; see Analytics & Evals.