AI visibility by prompt
Returns one row with AI visibility metrics per tracked prompt, platform, and domain for the selected filters.
position, visibility, rank, and runCount can be null when no value is available for that prompt row.
Authorizations
Siteline public API key. Create one under Team settings > Public API Key.
Path Parameters
Product ID returned by GET /v1/products.
42
Query Parameters
Product domain to report metrics for, such as example.com.
"example.com"
Inclusive start timestamp in RFC3339 format.
"2026-05-01T00:00:00Z"
Inclusive end timestamp in RFC3339 format.
"2026-05-31T23:59:59Z"
Platform filters. Common values: openai, gemini, google, perplexity, google_ai_overviews, claude.
Prompt label IDs to filter on. Invalid IDs return 400.
Response
Array of prompt metrics.
"best observability platforms"
"openai"
"example.com"
Average position of the product within AI response text for this prompt. For example, a position of 1 means the product was mentioned first. null when no data is available.
2.5
Percentage of AI responses in which the product appears for this prompt, expressed as a decimal (e.g. 0.42 = 42%). null when no data is available.
0.42
Product's ranking by visibility compared to all products appearing in this prompt's results. A rank of 1 means highest visibility. null when no data is available.
3
Total number of prompt runs recorded in the period. null when no data is available.
120