Skip to main content
GET
Get Theme Sentiment
Returns sentiment data grouped by theme. Each theme shows positive, neutral, and negative mention counts and the number of keywords in the theme.

Parameters

string
required
Bearer token. Format: Bearer slat_<your-token>.
integer
Number of days for the analysis window. Range: 1–365. Default: 30.
string
Start of date range. RFC 3339 timestamp (e.g., 2026-02-01T00:00:00Z). Send together with to.
string
End of date range. RFC 3339 timestamp. Send together with from. Data through the end of this date (UTC) is included. The range can’t exceed 366 days.
number
Filter by topic ID.
number
Filter by brand ID. If omitted, uses the brand of the workspace’s most recently updated prompt.
string
Filter by mentioned brand name. Case-insensitive exact match.
string[]
Filter by one or more platforms: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
string
Filter by ISO country code for region.
string
Filter by sentiment label. One of: positive, neutral, negative (case-insensitive).
number
Filter by a single prompt ID.
number[]
Filter by multiple prompt IDs. Maximum 500 values.

Response

Returns 200 OK with a JSON array of theme sentiment objects, most-mentioned themes first. Each object has these fields:
string
required
Unique identifier for the theme.
integer
required
Positive mention count for the theme.
integer
required
Neutral mention count.
integer
required
Negative mention count.
integer
Always null. This endpoint doesn’t calculate period-over-period change.
integer
Always null. This endpoint doesn’t calculate period-over-period change.
integer
Always null. This endpoint doesn’t calculate period-over-period change.
integer
required
Number of distinct keywords mentioned in the theme.

Example

Response

The delta fields are always null. To compare periods, call this endpoint once for each date range.

Status codes

What’s next