Skip to content
AdlyseDocs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
list_ad_accountsget_dashboard_snapshotget_impact_analysisget_competitor_pressurelist_guidelinesget_brand_kitupdate_brand_kitsave_brand_assetget_guidelinelist_suggestionsget_suggestionget_strategy_sessionlist_strategy_claimslist_strategy_proposalsget_creative_insightslist_watched_competitorslist_competitor_adswatch_competitorunwatch_competitorlist_audit_eventslist_organic_propertiesget_organic_overviewget_organic_page_metricsinspect_pageget_organic_performanceget_site_inventorycheck_site_healthget_ai_visibilitylist_ai_visibility_answerslist_ai_visibility_promptsupsert_ai_visibility_promptsrun_ai_visibility_checksget_growth_evidencelist_site_connection_optionslist_site_key_eventssave_site_sourceremove_site_sourceresync_site_sourceupdate_growth_deliveryget_growth_deliveryget_geo_workspaceupdate_geo_workspace
adlyse-ads
adlyse-workflows
adlyse-admin
adlyse-all
  1. Overview
  2. adlyse-insights

upsert_ai_visibility_prompts

Add or remove prompts the weekly AI-visibility probe asks. Write customer-worded questions an AI assistant would answer with named products or companies, never marketing copy. Added prompts carry origin: agent and survive the strategy-driven refresh; the plan’s question cap applies to the active total across all of the organization’s sites (cap is null when unlimited). Removing deactivates a prompt (its history is kept).

Side effect: changes what the next weekly probe asks (real vendor cost per prompt per engine).

Parameters#

NameTypeRequiredDescription
addstringnoJSON array of questions: strings, or {text, category?, topic?, audience?} objects (category: discovery, problem, comparison, brand, segment)
remove_idsstringnoJSON array of prompt ids to remove
site_source_idstringnoSite source id; omitted selects the primary site

Returns#

json
{
  "added": [{ "id": 31, "text": "best trail running shoes for wide feet", "created": true }],
  "refused": [{ "text": "x", "reason": "length" }],
  "removed": 1,
  "cap": 100,
  "source": "adlyse.ai_visibility@v2"
}

reason is length (8–500 characters) or cap (the active total is at the plan’s cap).

Errors#

error_typeWhen
auth_errorMissing / invalid API key
validation_errorremove_ids is not integers, or a question object has an unknown field or category

site_source_id scopes this operation to a site in the current organization; omitted selects the primary site. Results are sampled API answers. Comparative rates use matched prompt/engine/model/locale cohorts, excluding failed scoring; configuration changes require a new baseline. Only implemented and configured engine adapters can run.

Previouslist_ai_visibility_promptsNextrun_ai_visibility_checks