List Redirect Groups

Every redirect belongs to a group, and a group decides which module serves it — WordPress, Apache or Nginx.

redirects/list-groups returns the groups a redirect can belong to, so you can place a new one in the right group or move an existing one.

At a glance

Abilityredirects/list-groups
ToolsetRedirection — toolset/redirection
GroupRedirection
RequiresRedirection, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.43 and later

How it works

Each group comes back with its id, name, module (WordPress, Apache or Nginx), redirect count and whether it is enabled. Use a group id when creating or moving a redirect.

Input

NameTypeRequiredWhat it is
per_pageintegerNoPage size, 5–200 (default 50).
pageintegerNo1-based page number.
directionstringNoasc or desc by name (default asc).

What comes back

NameTypeWhat it is
groupsarrayThe groups with id, name, module, redirect count and enabled state.
countintegerHow many were returned on this page.
totalintegerHow many groups there are.
pageintegerThe page returned.
successbooleanWhether the call completed.

Example

Ask your assistant:

List the redirect groups.

It resolves to one call:

{
  "ability": "redirects/list-groups",
  "parameters": {}
}

Worth knowing

  • Read-only — it lists groups and writes nothing.
  • A redirect must belong to a group; this is where you get the id to pass to Create Redirect.
  • Needs the Redirection plugin active; without it you get a clear “not active” message.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading