30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Update AI Visibility Brand or Query

rank-math/update-ai-visibility-object updates an AI Visibility brand’s configuration, updates one monitored query, or generates new baseline queries for a brand. It refuses without confirm: true.

Brand and query updates are safely repeatable. Query generation is not.

Before you run it

Two of the three modes are ordinary configuration writes. The third — generating queries — appends rather than replacing and consumes credits every time it runs, so calling it twice produces a longer query list and a smaller balance. Check the balance first with rank-math/get-content-ai-status.

At a glance

Abilityrank-math/update-ai-visibility-object
ToolsetRank Math — toolset/rank-math
GroupRank Math › Content AI
RequiresRank Math SEO, active on the site
Capabilitymanage_options
SafetyOne of its three modes spends credits that cannot be refunded, and it refuses to run without confirm: true.
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The asymmetry is worth stating plainly, because the three modes sit behind one ability and behave very differently.

Updating a brand or a query is an ordinary write: idempotent, free, reversible by writing again.

Generating queries asks Rank Math’s service to produce a baseline set, appends them to whatever is already there, and spends credits. Run it twice and you have twice the queries and less balance — and the duplicates are not detected, because the generated queries are not identical, merely redundant.

Content AI runs on credits bought from Rank Math. Spending somebody’s credits is not something to do as a side effect of a request, so every ability here states plainly whether it spends any, and the ones that do are gated.

The confirmation covers all three modes rather than only the expensive one, which is a deliberate simplification: a single gate that is always present is harder to get wrong than one that appears conditionally.

Input

NameTypeRequiredWhat it is
modestringYesWhich operation: update a brand, update a query, or generate queries.
brand_idintegerYesThe brand.
query_idintegerRequired when updating a queryWhich query.
settingsobjectRequired for the update modesThe values to write.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
modestringWhich operation ran.
brandobjectThe brand after the change.
credits_spentbooleanWhether this call spent credits.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Add our new competitor to the AI Visibility brand.

It resolves to one call:

{
  "ability": "rank-math/update-ai-visibility-object",
  "parameters": {
    "mode": "update-brand",
    "brand_id": 3,
    "settings": { "competitors": ["example.com", "another.com"] },
    "confirm": true
  }
}

Worth knowing

  • Query generation appends and spends credits. The other two modes do neither.
  • Duplicate generated queries are not detected — they are redundant rather than identical.
  • Check credits_spent in the response.
  • Check the balance before generating.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading