Skip to content

Track, analyze and optimize AI visibility

Start with one brand and a question your buyers ask. Collect answers, use the evidence to choose a change, and measure the same question after your team publishes the edit.

Home / Solutions / Track, analyze and optimize AI visibility

1. Track the questions people ask about your category

Use this workflow if you are responsible for a brand’s website or build the reports its team uses. Start with a page the team can change and a question the page should help answer. For example, a team that maintains a product setup guide could track questions about which equipment a buyer needs before getting started. Include a question that names your brand and one that asks about the category more generally.

  1. Use POST /v2/brands to register the brand. Include its name, domains, category IDs, and markets. You can also register the competitors you want to compare. Store the returned data.id with your brand record.
  2. Save each question as a prompt with POST /v2/prompts and action=create. Keep its ID and version. A version identifies the question text used in a collection. Save the market, which records the country and language and can include a city.
  3. Use GET /v2/account with view=sources. Check for an available platform and collection mode, which together specify where and how to request answers. Start POST /v2/runs with workflow=collect, your brand and prompt IDs, the source, and the matching market. For local tracking, select business locations. Set max_units to cap the credits for the run.
  4. Follow the returned poll URL, the link you use to check progress, with GET /v2/runs/{run_id}. The completed result returns accepted and failed counts and observation IDs for the collected results.

Send the request key header shown in the operation reference when you create the brand, save a prompt, or start collection. If you retry the request, resend the same key and body. For a recurring collection, use PATCH /v2/brands/{brand_id} with section=schedule and kind=collection.

Record the dates of the first collection alongside the prompt versions. If you change a question after seeing an answer, keep the later version for a separate comparison. A change in the question can change what an answer includes, even when the page you are testing stays the same.

2. Analyze mentions, citations, and claims

Use GET /v2/analytics/{dataset} with visibility in the path. Read mention_rate alongside coverage.valid_answers, the count of usable answers for the selected result. The response can also report mean_rank, the average recorded position. Use the prompts dataset with a prompt ID and include_evidence=true to inspect answers for a specific question.

Switch to citations with section=urls to see which pages the answers reference. The response includes cited URLs, domains, and citation metrics. Use citation_gaps to count answers that mention a tracked competitor and omit your brand. Read the gap count alongside the valid answer count, then review the cited domains for answers with displayable citations.

Look for a specific pattern before opening a task for your team. An answer might cite an equipment checklist on another site, for example, while your setup guide assumes the reader already has the equipment. If you have checked the correct model names and requirements, you can save them as approved facts with PUT /v2/brands/{brand_id}/evidence/{kind}/{key} and kind=accuracy_facts. Then start an accuracy check with POST /v2/runs and workflow=check_answer_accuracy, and read the wrong_claims dataset for the statement, the matching fact, and the number of times it occurred.

3. Improve one page and review the change

Use GET /v2/recommendations with view=diagnosis and a type such as content or technical. Read the recommendation title, priority, evidence IDs, and verification guidance. To check a public page, start POST /v2/runs with workflow=audit, the brand ID, public URL, check types, page limit, and credit cap. Follow the run status link to read the findings and see how many pages the run checked or skipped.

Use the board view of recommendations to read work item IDs and briefs. On Optimizer, create an editorial draft tied to a board item with PUT /v2/brands/{brand_id}/drafts/{draft_id}. Retrieve the draft with GET /v2/brands/{brand_id}/drafts/{draft_id} to read the text, revision, and status. Use PATCH /v2/brands/{brand_id}/drafts/{draft_id} to submit the revision or record approval.

For the setup guide, an editor could add an equipment checklist with confirmed model names and requirements. If the team wants to check the edit before publishing, save fixed copies of the draft and questions with PUT /v2/brands/{brand_id}/evidence/{kind}/{key} using prepublish_draft and prepublish_prompts. Start a run with workflow=prepublish_review and those saved revisions. Review the supporting passages and any missing evidence. Your team controls publication of the final edit.

4. Measure the same questions again

After publishing, start another POST /v2/runs collection with the same saved questions, market, and platform and mode pair. Read the status and check coverage before you compare. Use a new collection window for the answers you gather after the edit.

This request uses GET /v2/analytics/{dataset} with the prompts dataset and view=compare. Set AEO_API_BASE_URL to https://api.aeoapi.dev. Use timestamps with offsets for the current window and the previous window. Pass the saved question ID and its version.

curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/prompts" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  --data-urlencode "brand_id=$BRAND_ID" \
  --data-urlencode "prompt_id=$PROMPT_ID" \
  --data-urlencode "prompt_version=$PROMPT_VERSION" \
  --data-urlencode "view=compare" \
  --data-urlencode "start_at=$START_AT" \
  --data-urlencode "end_at=$END_AT" \
  --data-urlencode "compare_start_at=$COMPARE_START_AT" \
  --data-urlencode "compare_end_at=$COMPARE_END_AT"

Read current and previous for the valid and brand-present sample counts in each window. Check comparable and the warnings before using mention_delta_pp, the change in mention rate measured in percentage points. If the return includes separate rows for different markets or modes, keep them separate in the report. The comparison measures collected answers and cannot isolate the effect of the edit.

Read the answers as well as the rates. In the setup example, the brand could appear at the same rate while later answers give a different equipment list. Review both sets of answers for the corrected details. If the later answers add a citation to the setup guide, record that URL alongside the answer that cited it.

Choose the plan for the work you need

Analyzer costs $199 a month and includes tracking, citation analytics, audits, recommendations, and 3 months of history. Optimizer costs $399 a month and includes 12 months of history as well as draft creation, review, and prepublish checks. Reading results uses zero credits. Collection, audits, and generation can use credits.

The history allowance matters when an edit takes several review cycles. Choose the measurement dates while the earlier collection is still within the plan’s history. If you need to check whether a change was published correctly before collecting again, audit the public URL and check the findings against the version your team approved.

Use AI visibility tracking to plan regular collections, Site audits to check a page, and Content optimization to review a revision. When you need a saved report to share, use Reports and webhooks to create an expiring link.

Questions

What should I collect before making a change?

Save the questions your change is meant to address. Collect answers for a supported platform and mode in the market you want to measure. Keep the prompt IDs and versions with the dates. Read how to collect the first answers.

What does mention rate tell me?

It measures how often the brand appeared in the selected answers. Keep it beside the valid answer count so the size of the sample is clear. Read how to interpret visibility results.

What if a citation points to a page I do not control?

Use the cited URL to understand which source the answer references. If the page raises a gap in your own content, choose an edit your team can make and verify. Read about cited pages and citation gaps.

Can I run this workflow on Analyzer?

Analyzer covers tracking, citation analysis, audits, recommendations, and follow-up measurement within its allowances. Choose Optimizer if you also want draft review or prepublish checks in the API. Compare plan features.

When can I read the answers from a collection?

Follow the returned poll URL to check the state. A completed collection includes accepted and failed counts and observation IDs. See how to read a finished collection.

Does a higher mention rate prove the edit worked?

It shows how mention rates differed between the comparable sets of answers. Keep the answer counts and comparison warnings with the result. Several things can change between collections, so the difference alone cannot establish cause. See the prompt comparison fields.