Measure whether AI names your site
run_ai_measurementMeasure whether AI assistants (ChatGPT, Gemini, Google AI Overview, Google AI Mode, Perplexity) name one of your sites, with real answers. Called without approval it returns a preview that runs nothing: the questions, the market, the engines and an approval code. Show the questions to the user and call it again with that approval only after they agree: the measurement then runs in the background for a few minutes and counts as one of the AI measurements your account includes. get_ai_visibility shows the result. Nothing on your site changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | One of your sites in Goppa, by domain (example.com). Required when the account has more than one site: without it, the answer lists the sites to choose from. With a single site it can be left out. | |
| market | No | Where to ask, as a country code (uk, us, de, fr…) or a region (eu, global). Without it, the market of the site's earlier measurements or the one Goppa detected. | |
| approval | No | The approval code from the preview, sent only after the user agreed to the questions. Without it, only the preview. | |
| categories | No | The products or services to ask about, like 'running shoes' (3 to 35 characters each). Without it, the categories on the site. Categories saved in Goppa's settings come first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | ||
| as_of | No | ||
| error | No | ||
| saved | No | ||
| state | No | ||
| market | No | ||
| period | No | ||
| reason | No | ||
| sample | No | ||
| engines | No | ||
| missing | No | ||
| partial | No | ||
| preview | No | ||
| started | No | ||
| summary | No | ||
| approval | No | ||
| language | No | ||
| available | No | ||
| questions | No | ||
| times_each | No | ||
| data_status | No | ||
| market_name | No | ||
| next_action | No | ||
| evidence_ids | No | ||
| requested_at | No | ||
| site_required | No | ||
| workspace_url | No | ||
| already_running | No | ||
| approval_changed | No | ||
| ready_in_minutes | No | ||
| sites_in_account | No | ||
| answers_per_engine | No | ||
| already_measured_today | No | ||
| measurements_this_month | No |