Documentation Index Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Returns time series data points with brand and competitor metrics per date. Use this to visualize trends in mentions, position, and visibility over time.
Parameters
Bearer token. Format: Bearer slat_<your-token>.
Number of days for the trend window (e.g., 7, 30, 90).
Start of date range. ISO 8601 format (e.g., 2026-02-01T00:00:00Z).
End of date range. ISO 8601 format.
Brand ID. Optional — if omitted, uses the workspace’s default brand.
Filter by one or more platforms: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
Filter by ISO country code for region.
Time bucket granularity. One of: day, week, month. Default: day.
Number of top competitors to include in the trend. Default: 5.
Filter by a single prompt ID.
Filter by multiple prompt IDs. Maximum 10 values.
Response
Returns 200 OK with the trend data.
Array of time series data points. Date for the data point. Format: YYYY-MM-DD.
Brand metrics for the date. Competitor metrics for the date.
Example
curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/analytics/overview/trend?dateRange=30&topicId=42&bucket=day&topCompetitors=3" \
-H "Authorization: Bearer slat_YOUR_TOKEN"
Response
{
"points" : [
{
"date" : "2026-02-10" ,
"brand" : {
"name" : "MyBrand" ,
"mentions" : 15 ,
"avgPosition" : 2.1 ,
"visibilityPct" : 80.0
},
"competitors" : [
{
"name" : "CompetitorA" ,
"mentions" : 10 ,
"avgPosition" : 3.2 ,
"visibilityPct" : 65.0
}
]
},
{
"date" : "2026-02-11" ,
"brand" : {
"name" : "MyBrand" ,
"mentions" : 18 ,
"avgPosition" : 2.0 ,
"visibilityPct" : 82.0
},
"competitors" : [
{
"name" : "CompetitorA" ,
"mentions" : 12 ,
"avgPosition" : 3.0 ,
"visibilityPct" : 68.0
}
]
}
]
}
Status codes
Status Description 200Trend data returned. 400promptIds exceeds maximum of 10 values.401Missing or invalid Bearer token. See Authentication . 500Internal server error.
What’s next