Endpoints
AI Search Visibility
Read AI answer visibility for the active business.
GET
GET /api/v1/ai-visibility returns the active business’s stored AI answer presence for Growth plans and higher. The public v1 response is limited to raw stored facts such as mentions, engines, queries, positions, and collected snippets; generated scores and recommendations remain dashboard-only.
The dashboard also exposes POST /api/businesses/me/ai-visibility/check for authenticated users who can run an immediate visibility check from the AI Visibility tab.
Use an API key with the ai-visibility:read scope.
Your API key from Settings > API Keys
Query parameters
| Name | Type | Default | Notes |
|---|---|---|---|
days | integer | 30 | Clamped between 7 and 90. |
location | string | all locations | Optional city name. When present, the response is filtered to checks run for that city. |
Response
localMetricsAvailable is false for online/no-location businesses, so clients should hide region selectors and local/GEO-only metrics while still showing AI visibility query evidence.
Dashboard on-demand checks
POST /api/businesses/me/ai-visibility/check runs a fresh dashboard check for the active business and optional selected location. This route uses the signed-in dashboard session, not a public API key.
cURL
Access
The endpoint uses the caller’s active personal or organization business context. Organization members can read rows for businesses they can access. Accounts below Growth receive403. API keys without ai-visibility:read receive 403 requiredScope.