Skip to main content
GET
/
ai-analytics-service
/
api
/
public
/
v1
/
sentiment
/
theme
/
{themeId}
/
keyword
/
{keywordId}
/
mentions
Get Keyword Mention Details
curl --request GET \
  --url https://api.slatehq.ai/ai-analytics-service/api/public/v1/sentiment/theme/{themeId}/keyword/{keywordId}/mentions \
  --header 'Authorization: <authorization>'
{
  "mentions": [
    {
      "mentionId": "<string>",
      "promptId": 123,
      "promptText": "<string>",
      "sentimentLabel": "<string>",
      "topicId": 123,
      "topicName": "<string>",
      "platform": "<string>",
      "createdAt": "<string>",
      "evidenceText": "<string>",
      "charStart": 123,
      "charEnd": 123,
      "runId": 123,
      "brandId": 123,
      "mentionedBrandName": "<string>",
      "themeId": "<string>",
      "keywordId": "<string>",
      "keywordLabel": "<string>",
      "sentimentScore": 123,
      "confidence": 123
    }
  ]
}

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 individual mention records for a specific keyword within a theme. Each mention includes the prompt text, AI platform, sentiment label, evidence text, and confidence score.

Parameters

themeId
string
required
Unique identifier for the theme.
keywordId
string
required
Unique identifier for the keyword.
Authorization
string
required
Bearer token. Format: Bearer slat_<your-token>.
dateRange
integer
Number of days for the analysis window.
from
string
Start of date range. ISO 8601 format (e.g., 2026-02-01T00:00:00Z).
to
string
End of date range. ISO 8601 format.
topicId
number
Filter by topic ID.
brandId
number
Filter by brand ID.
brand
string
Filter by brand name.
platform
string[]
Filter by one or more platforms: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
region
string
Filter by ISO country code for region.
sentiment
string
Filter by sentiment label (e.g., positive, neutral, negative).
limit
integer
Maximum number of results. Default: 50.
offset
integer
Number of results to skip. Default: 0.
page
integer
Page number. When provided, overrides limit/offset with page-based pagination.
size
integer
Page size. Used with page. Maximum: 200.
promptId
number
Filter by a single prompt ID.
promptIds
number[]
Filter by multiple prompt IDs. Maximum 10 values.

Response

Returns 200 OK with an array of mention detail objects.
mentions
object[]
required
Array of mention detail objects.

Example

curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/sentiment/theme/theme-abc-123/keyword/kw-001/mentions?dateRange=30&limit=10" \
  -H "Authorization: Bearer slat_YOUR_TOKEN"

Response

[
  {
    "mentionId": "m-2048-001",
    "promptId": 156,
    "promptText": "What is the best project management tool for remote teams?",
    "sentimentLabel": "positive",
    "topicId": 42,
    "topicName": "Project Management Tools",
    "platform": "CHATGPT",
    "createdAt": "2026-02-11T14:31:15Z",
    "evidenceText": "The platform is praised for its ease of use and intuitive interface.",
    "charStart": 245,
    "charEnd": 312,
    "runId": 2048,
    "brandId": 5,
    "mentionedBrandName": "MyBrand",
    "themeId": "theme-abc-123",
    "keywordId": "kw-001",
    "keywordLabel": "ease of use",
    "sentimentScore": 0.92,
    "confidence": 0.87
  }
]

Status codes

StatusDescription
200Mention details returned.
400promptIds exceeds maximum of 10 values.
401Missing or invalid Bearer token. See Authentication.
500Internal server error.

What’s next