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 overall sentiment breakdown for your brand mentions across AI platforms. Includes counts for positive, neutral, and negative sentiment, plus the change (delta) compared to the previous period of equal length.
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 the sentiment summary.
Count of positive sentiment mentions.
Count of neutral sentiment mentions.
Count of negative sentiment mentions.
Change in positive sentiment compared to the previous period.
Change in neutral sentiment compared to the previous period.
Change in negative sentiment compared to the previous period.
Example
curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/sentiment/overall/mentions?dateRange=30&topicId=42" \
-H "Authorization: Bearer slat_YOUR_TOKEN"
Response
{
"positiveSentiment": 120,
"neutralSentiment": 80,
"negativeSentiment": 15,
"positiveSentimentDelta": 10,
"neutralSentimentDelta": -5,
"negativeSentimentDelta": -2
}
Delta values compare the current period to the previous period of equal length. A positiveSentimentDelta of 10 means 10 more positive mentions than the prior period.
Status codes
| Status | Description |
|---|
200 | 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