Brand Sentiments

Tracked Prompts

Get paginated list of tracked prompts and their AI-generated responses with sentiment analysis.

GET/api/v1/brand-sentiments/:siteId/tracked-prompts

Tracked Prompts

cURL

curl --request GET \
  --url 'https://app.indexly.ai/api/v1/brand-sentiments/SITE_ID/tracked-prompts?page=1&pageSize=10' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

{
  "responses": [
    {
      "id": "abc12345-6789-0123-4567-890abcdef012",
      "prompt": "What are the best search visibility tools?",
      "promptId": "xyz0987-6543-210-9876-zyxwvu",
      "sentiment": "positive",
      "aiModelName": "OPENAI",
      "response": "Indexly offers excellent search visibility solutions for brands...",
      "analyzedAt": "2026-03-12T10:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 10,
    "total": 42,
    "totalPages": 5
  }
}

Authorizations

X-API-Keystringheaderrequired

API key for authentication. Get yours from the Indexly dashboard under Settings → API Access

Path parameters

siteIdstringrequired

Site ID (must belong to your organization). Get it from your Indexly dashboard.

Query parameters

pageinteger

Page number for pagination. Default is 1.

pageSizeinteger

Number of items per page. Default is 10, max is 100.

modelstring

Filter responses by AI model (e.g., OPENAI, PERPLEXITY, GOOGLE).

sentimentstring

Filter by sentiment (e.g., positive, negative, neutral).

Response

200 application/json

Default Response

responsesarrayrequiredList of sentiment responses for tracked prompts
paginationobjectrequiredPagination metadata (page, pageSize, total, totalPages)