Submit Tavily feedback
Submit relevance and usefulness feedback for a search request or session. BazaarLink accepts the request and returns Tavily's success shape, but feedback is accepted and not processed yet. Provide at least request_id or session_id; X-Session-Id can identify a session.
/v1/feedbackAuthorizations
AuthorizationrequiredAPI key as bearer token in the Authorization header.
Body
request_idSearch request to comment on; when provided, feedback applies to that request.
8442d8d0-8b74-4fca-a89e-5b1b6dd33295session_idSession to comment on; when request_id is omitted, feedback applies to the whole session.
5874812a-2e9b-43ea-8978-6cc9225b587bagent_scoreOverall agent score for result relevance and usefulness.
1human_scoreEnd-user score, if you collect it.
1extra_scoresAdditional labeled dimensions; each item requires label and value.
labelrequiredName of the dimension being scored.
freshnessvaluerequiredA numeric score or a short string label of at most 64 characters.
0.8commentFree-text explanation of the feedback.
Results were authoritative but several were old.response_deliveredThe final answer you produced using the results.
The results show that ...used_idsIDs of results used in the answer; an alternative to used_urls.
["a3f9c2-04"]used_urlsURLs of results used in the answer; an alternative to used_ids.
["https://example.com/article"]used_citationsSpecific source snippets quoted in the answer.
["A cited sentence."]urls_scoresPer-result feedback; each item must include id or url.
idResult ID from the search response; provide this or url.
a3f9c2-04urlResult URL; use this when you do not have the result ID, and provide it or id.
https://example.com/articleagent_scoreAgent score for this result, as a number or short string.
1scoresAdditional labeled scores for this result; each item has label and value.
labelrequiredName of the dimension being scored.
freshnessvaluerequiredA numeric score or a short string label of at most 64 characters.
0.8commentFree-text feedback about this result.
Directly answered the question.