Skip to main content
POST
/
event-ingestion
/
api
/
v1
/
events
/
feedback
Send User Feedback
curl --request POST \
  --url https://backend.nebuly.com/event-ingestion/api/v1/events/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "feedback": {
    "slug": "<string>",
    "text": "<string>",
    "value": 123
  },
  "metadata": {
    "input": "<string>",
    "output": "<string>",
    "end_user": "<string>",
    "timestamp": "<string>",
    "anonymize": true
  }
}
'
This endpoint allows you to send user feedbacks collected from your application’s frontend. In particular, it enables you to link end-user feedback or instances where users copy and paste text generated by the AI system to the corresponding user interaction.
User feedbacks are linked to an interaction using the end_user, input, and output fields you can provide in the metadata. The platform expects the interaction to have already been sent when submitting a user feedback, and the timestamp of the user feedback must be after the timestamp marking the end of the interaction generation.
feedback
object
required
The user feedback you are tracking.
metadata
object
required
Metadata is required to accurately associate the user feedback with its corresponding interaction.