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 sentiment data grouped by brand and theme. Use this to compare how different brands are perceived across specific themes.
Parameters
Bearer token. Format: Bearer slat_<your-token>.
Number of days for the analysis window.
Start of date range. ISO 8601 format (e.g., 2026-02-01T00:00:00Z).
End of date range. ISO 8601 format.
Filter by one or more platforms: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
Filter by ISO country code for region.
Filter by a single prompt ID.
Filter by multiple prompt IDs. Maximum 10 values.
Response
Returns 200 OK with an array of brand-theme sentiment objects.
Array of brand-theme sentiment objects.Show brand-theme sentiment object
Name of the mentioned brand.
Positive mention count for the brand in the theme.
Example
curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/sentiment/competitive-theme/mentions?dateRange=30&topicId=42" \
-H "Authorization: Bearer slat_YOUR_TOKEN"
Response
[
{
"brandName": "MyBrand",
"themeId": "theme-abc-123",
"positiveSentiment": 35,
"neutralSentiment": 20,
"negativeSentiment": 5
},
{
"brandName": "CompetitorA",
"themeId": "theme-abc-123",
"positiveSentiment": 22,
"neutralSentiment": 18,
"negativeSentiment": 10
},
{
"brandName": "MyBrand",
"themeId": "theme-def-456",
"positiveSentiment": 50,
"neutralSentiment": 25,
"negativeSentiment": 7
}
]
Status codes
| Status | Description |
|---|
200 | Brand-theme sentiment data returned. |
400 | promptIds exceeds maximum of 10 values. |
401 | Missing or invalid Bearer token. See Authentication. |
500 | Internal server error. |
What’s next