Skip to content

AI visibility reports and webhooks API

Read saved AI visibility reports, share a monthly summary with a client, and receive a webhook when a managed report run finishes.

Home / Products / AI visibility reports and webhooks API

Read a brand’s monthly report

Use reports to show how often a brand appeared in the answers you collected and how many of those answers cited web pages. Agencies can prepare monthly client reviews. Software teams can use the same results in their product. Brand teams can read across their portfolio to decide which brands need a closer look.

Start with a brand that has saved collection samples. A collection sample can have no usable answer. Use GET /v2/reports with a key that has analytics:read. Pass the brand ID and a month, or omit the month to read the latest one that has saved samples.

The report returns report_id, the month, a generation time, and the analysis version. Use available_months to fill a month picker and trends for a monthly chart. Pass report_id when you need a specific saved revision.

The overall section counts scheduled samples, valid answers, mentions, and answers with citations. A citation identifies a page the answer cites. The visibility score uses a 0 to 100 scale. Show the number of valid answers beside it. If the selection has no valid answers, the score is null.

Compare months, brands, and follow-up results

Choose a view in GET /v2/reports based on what the reader needs.

  • view=compare returns totals for two months and the change between them. The response counts matching groups and groups found in only one month. Check those counts when the set of questions or covered sources changes.
  • view=rollup returns one row per brand the key can read, plus a brand count. Each row includes the brand ID, name, month, coverage counts, and score. Pass a month to align the rows. Otherwise each brand uses its own latest month.
  • view=action_outcome returns the baseline and measured follow-up for a client action. The baseline is the starting measurement. Pass the brand ID and the analyst_action: identifier returned in data.v2_action_id. Some action types require extra key permissions.

To compare two months, set AEO_API_BASE_URL to https://api.aeoapi.dev, set your key on your server, and supply the brand ID. Use YYYY-MM for both months. The earlier month goes in FROM_MONTH.

curl --fail-with-body --get "$AEO_API_BASE_URL/v2/reports" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  --data-urlencode "view=compare" \
  --data-urlencode "brand_id=$BRAND_ID" \
  --data-urlencode "from_month=$FROM_MONTH" \
  --data-urlencode "to_month=$TO_MONTH"

Read comparison.mention_change_percentage_points for the difference between the two mention percentages. A null change means the API has no comparable result. If a month is at the beginning of your plan’s history, that month can be partial.

Share one brand and month

  1. Use PATCH /v2/reports with section=share_link_create, the brand ID, and the month. The key needs brands:write and analytics:read. Send the required request key header to identify the request. If you retry, resend the same key and body. A link lasts 7 days by default. Set expires_in_days to a value from 1 to 30 to choose another expiry.
  2. Save share_id and expires_at. Use the returned share_path with the site address to build the full link. Anyone with the link can open the summary while the link is active and the report still qualifies.
  3. To end access early, call PATCH /v2/reports with section=share_link_revoke, the brand ID, and the share ID.

The shared page counts only valid answers eligible for a public summary. Counts can differ from those in the full report API. If the create request returns HTTP 404 with not_found and says no answers can be shared for that month, choose a month with shareable answers and request a new link.

Receive managed report events

A webhook is an HTTP notification sent to a URL on your server. Managed report webhooks tell you when a managed run completes or fails. Your application can use those events to refresh a report view or show the run status to the team responsible for the brand.

  1. Register a public HTTPS URL on port 443 or 8443 with PATCH /v2/brands/{brand_id}. Set section=connection and provider=webhook. Use an owner key with brands:write.
  2. Save the signing secret returned when you register or rotate the webhook. Choose aeo.report.completed, aeo.report.failed, or both. If you omit the selection, you receive both event types.
  3. For scheduled reporting, configure section=schedule and kind=managed on the brand. Use GET /v2/account with include=webhooks or include=schedules to review one configuration list at a time. To check one brand’s webhook, use GET /v2/brands/{brand_id} with view=connection and provider=webhook.
  4. Verify Aeo-Signature with Aeo-Timestamp, the exact request body, and the current signing secret. Use Aeo-Event-Id to recognize repeated deliveries. Read the run status and check whether the event includes a report ID before requesting the saved report.

The event includes the brand ID, run ID, status, and timestamp. The report ID can be missing. Check the failure reason when the run fails. To remove the webhook, send the connection update with url set to null.

Export a brand’s prompt list

Use GET /v2/prompts with view=export, format=csv, and the brand ID to download the prompt list as comma-separated values (CSV) for a spreadsheet. Use a key with prompts:read and check X-Next-Cursor for the value to send as cursor if you need the next page.

Include the prompt list when reviewing a month with a client who wants to see which questions the team tracks. To inspect how specific pages were cited, use the citation intelligence API alongside the monthly totals.

Plans and access

Reports, share links, and managed report webhooks are available on both plans. Analyzer costs $199 per month and includes 4 brands and 3 months of history. Optimizer costs $399 per month and includes 10 brands and 12 months of history. Report reads, share link changes, and webhook configuration use zero credits. Collecting answers can use credits.

Request access through the contact form and use the emailed invitation to set up your account. The account portal handles keys, usage, and billing. Your integration reads the reports through the API.

Questions

Can I read the latest month without specifying a date?

Yes. The report view defaults to the most recent month with saved collection samples. That month can have zero valid answers. See how the monthly report chooses a month.

Can I compare results for all my clients in one request?

Use the rollup view for one row per brand your key can read. Pass a month to use the same period for each brand. Read the rollup guide.

Can I revoke a link after sending it?

Yes. Save the share ID when you create the link. Use it with the brand ID to revoke access before the link expires. See the share link operations.

Why do the counts in my shared report differ from the API report?

A shared report counts only answers eligible for a public summary. The full API report can include a different set of answers. See what a shared report includes.

Does a webhook include the full report?

The webhook sends a managed report event with status and identifiers. Use the report ID to read a saved report when available. See the managed report webhook configuration.

Can I export my prompt list as a CSV?

Yes. Set the prompt view to export and the format to csv. Use the next cursor header to request another page when available. Read the prompt export parameters.

Which plans include reports and webhooks?

Analyzer and Optimizer both include report reads, share links, and managed report webhooks. The available report history depends on the plan. Compare plan history and limits.