/agents/{id}/query
Provide Feedback
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.
If providing feedback on a retrieval, include the message_id from the /query response, and a content_id returned in the query's retrieval_contents list.
For feedback on generations, include message_id and do not include a content_id.
post/agents/{agent_id}/feedback
Path parameters
agent_idstring uuid required
ID of the agent for which to provide feedback
ID of the agent for which to provide feedback
Request body
Response
Successful Response
EmptyResponse required