Provide feedback for a generation or a retrieval. Feedback can be used to track overall Agent performance through the Feedback page in the Contextual UI, and as a basis for model fine-tuning.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the agent for which to provide feedback
Input to POST feedback endpoint
ID of the message on which to provide feedback.
Feedback to provide on the message. Set to "removed" to undo previously provided feedback.
thumbs_up, thumbs_down, flagged, removed Optional explanation for the feedback.
ID of the content on which to provide feedback, if feedback is on retrieval. Do not set (or set to null) while providing generation feedback.
Successful Response
Response schema for feedback submission endpoint.
ID of the submitted or updated feedback.