Submit feedback on a search request or session
Changed onSubmit feedback on how relevant and useful Tavily's results were for your task.
post/feedback
Request
- Base URLhttps://api.tavily.com
- URLhttps://api.tavily.com/feedback
- AuthHTTP bearer
Request body
Example request
{
"request_id": "8442d8d0-8b74-4fca-a89e-5b1b6dd33295",
"session_id": "5874812a-2e9b-43ea-8978-6cc9225b587b",
"extra_scores": [
{
"label": "freshness",
"value": 0.4
},
{
"label": "authority",
"value": 0.9
}
],
"comment": "Results were authoritative but several were more than a year old.",
"response_delivered": "Lionel Messi is an Argentine footballer born in 1987...",
"used_ids": [
"a3f9c2-04",
"a3f9c2-07"
],
"used_urls": [
"https://www.britannica.com/facts/Lionel-Messi"
],
"used_citations": [
"Messi is known for his exceptional dribbling skills, vision, and goal-scoring ability."
],
"urls_scores": [
{
"id": "a3f9c2-04",
"agent_score": 1,
"comment": "Directly answered the question."
},
{
"url": "https://example.com/stale-page",
"agent_score": -1,
"scores": [
{
"label": "freshness",
"value": 0.1
}
]
}
]
}Response
Feedback accepted
Example response
{
"success": true,
"feedback_id": "f1c0f0a5-0f9b-4a62-9e0e-1b6b2f0a6d31",
"response_time": 0.05
}Changes
- info
endpoint added
- info