Skip to main content
GET
/
stats
/
top-series
Top series
curl --request GET \
  --url https://api.thehaystack.ai/v2/haystack/stats/top-series \
  --header 'Authorization: Bearer <token>'
{
  "series": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Query Parameters

startDate
string<date>
required
endDate
string<date>
required
aggregation
enum<string>
required
Available options:
day,
week,
isoWeek,
month,
quarter,
year
mock
boolean
limit
integer
default:10
offset
integer
default:0

Response

200 - application/json

Stats payload

series
object[]