POST
/
event-ingestion
/
api
/
v1
/
events
/
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 '{
  "action": {
    "slug": "<string>",
    "text": "<string>",
    "value": 123
  },
  "metadata": {
    "input": "<string>",
    "output": "<string>",
    "end_user": "<string>",
    "timestamp": "<string>",
    "anonymize": true
  }
}'

This endpoint allows you to send feedback actions 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.

Feedback actions 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 feedback action, and the timestamp of the feedback action must be after the timestamp marking the end of the interaction generation.

For users of the european region, the correct endpoint is https://backend.eu.nebuly.com/event-ingestion/api/v1/events/feedback.

action
object
required

The feedback action you are tracking.

metadata
object
required

Metadata is required to accurately associate the feedback action with its corresponding interaction.