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

Start free trial

GeoDirectory Overview

geodirectory/get-directory-overview returns every GeoDirectory listing type on this site with its REST base and listing count, plus which add-ons are active.

Start here. Two assumptions people make about GeoDirectory are wrong often enough to be worth checking every time.

At a glance

Abilitygeodirectory/get-directory-overview
ToolsetGeoDirectory — toolset/geodirectory
GroupGeoDirectory › Directory & Pages
RequiresAcrossAI Pro, plus GeoDirectory active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

The first is that the listing type is gd_place. It is on a default install and it is not on a site that has added a second directory — restaurants and events, venues and suppliers — and the wrong post type produces a 404 rather than an empty result.

The second is that location and proximity parameters work. They are part of the Location Manager add-on, and on a site without it a near or distance parameter is ignored rather than refused. The search returns results; they are simply not filtered by location.

Both are reported here in one call, along with the listing counts — which are the fastest way to tell an empty directory from one where nothing was published.

The REST bases matter for anything going through GeoDirectory’s own API rather than these abilities, since they are derived from the listing type rather than fixed.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
listing_typesarrayEach listing type with its slug, label, REST base and listing count.
addonsobjectWhich GeoDirectory add-ons are active.
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:

What directories does this site run?

It resolves to one call:

{
  "ability": "geodirectory/get-directory-overview",
  "parameters": {}
}

Worth knowing

  • The listing type is not always gd_place.
  • Location parameters are silently ignored without Location Manager.
  • Listing counts distinguish an empty directory from an unpublished one.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading