Analytics
AI visibility
How AI assistants (ChatGPT, Claude, Perplexity, Gemini and others) read the site and send visitors: a score, platforms, top pages, the previous period and suggested actions with steps. With AI answers set up, also what the engines answer for the questions the site tracks: which brands they name before or instead of it, and the pages they cite.
get/sites/{site}/ai-visibility
Request
- Base URL: https://api.onelence.com/v1
- URL: https://api.onelence.com/v1/sites/{site}/ai-visibility
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: analytics:read)
- HTTP bearer
Path parameters
sitestring required
Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
Query parameters
startstring
Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.
endstring
Window end, inclusive for a date. Defaults to now.
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.