List Redirects

Before you create a redirect, you want to see what is already there — and which ones are actually being hit.

redirects/list-redirects returns a filterable, paginated list of the site’s redirects, with their source and target, HTTP code, group, hit count and whether they are enabled.

At a glance

Abilityredirects/list-redirects
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

Filter by enabled state, by group, or by a substring of the source or target, and page through the results. Order by last access, hit count or position.

Each row carries the source, the target, the HTTP code, the match and action type, the group, the hit count and last-access, and whether it is enabled — everything you need before creating or changing one.

Input

NameTypeRequiredWhat it is
statusstringNoall, enabled or disabled. Default all.
group_idintegerNoOnly redirects in this group.
sourcestringNoMatch a substring of the source URL.
targetstringNoMatch a substring of the target URL.
per_pageintegerNoPage size, 5–200 (default 25).
pageintegerNo1-based page number.
orderbystringNosource, last_count (hits), last_access or position.
directionstringNoasc or desc (default desc).

What comes back

NameTypeWhat it is
redirectsarrayThe matching redirects with their source, target, code, group, hits and enabled state.
countintegerHow many were returned on this page.
totalintegerHow many match in total.
pageintegerThe page returned.
successbooleanWhether the call completed.

Example

Ask your assistant:

Show me the 20 most-hit redirects.

It resolves to one call:

{
  "ability": "redirects/list-redirects",
  "parameters": {
    "orderby": "last_count",
    "direction": "desc",
    "per_page": 20
  }
}

Worth knowing

  • Read-only — it reads the redirect table and writes nothing.
  • Check here before creating a redirect so you do not duplicate one.
  • 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