Product Visibility

Product Sentiments

Get sentiment themes and their matching prompt responses. Requires an active AI Visibility subscription with API access.

GET/api/v1/product-visibility/:siteId/sentiments

Product Sentiments

cURL

curl --request GET \
  --url 'https://app.indexly.ai/api/v1/product-visibility/SITE_ID/sentiments' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

{
  "data": [],
  "pagination": {
    "page": 1,
    "pageSize": 20,
    "total": 0,
    "pages": 0
  }
}

Authorizations

X-API-Keystringheaderrequired

API key from Settings → API Access in the Indexly dashboard.

Path parameters

siteIdstringrequired

Site ID belonging to your organization.

Query parameters

productstringdefault: all

Filter by an active product ID, or use all.

searchstring

Search text (up to 200 characters). Products match name, brand, SKU or ASIN; discovered products match name, brand or SKU; prompts, analysis and competitors match prompt text; sentiments match theme, prompt or product name.

modelstringdefault: all

Filter by AI model. For competitors and sentiments the model must occur in a site run.

marketstringdefault: all

Filter by the target market of the analysis run.

dayinteger

Look-back window in days, from 1 to 3650. Invalid values use the configured default (normally 90 days).

sentimentstringdefault: all

Filter responses by all, positive, neutral, negative or unrated.

pageintegerdefault: 1

Page number, from 1 to 100000.

pageSizeintegerdefault: 20

Results per page, from 1 to 50.

Response

200 application/json
dataarray— Themes include id, name, sentiment, frequency and prompts. Prompt entries include resultId, promptId, productId, prompt, product, model, sentiment and analyzedAt.
paginationobject— Contains page, pageSize, total and pages (total page count).