cURL
curl --request GET \ --url https://api.thehaystack.ai/v2/haystack/stats/top-items \ --header 'Authorization: Bearer <token>'
{ "items": [ {} ] }
Top-performing items (limit/offset supported).
Enter your API token from the Haystack dashboard
day
week
isoWeek
month
quarter
year
Stats payload