/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
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the agent for which to provide feedback
Body
application/json
Input to POST feedback endpoint
Response
200
application/json
Successful Response
The response is of type object
.