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

Start free trial

BuddyBoss Get Media

buddyboss/get-media returns a single media item with its owner, privacy, container and URL.

The group is reported alongside the privacy value, deliberately.

At a glance

Abilitybuddyboss/get-media
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Media & Documents
RequiresAcrossAI Pro, plus BuddyBoss Platform 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

An item inside a group takes the group’s visibility whatever its own privacy field holds. A photo marked public, in a private group, is visible to that group and nobody else.

Reading the privacy field at face value therefore produces a wrong answer in the direction that matters — it looks more exposed than it is, or, on a public group with an item marked private, less.

So the group comes back with the item, and the two together are the actual visibility.

The URL is the file itself. Whether it is reachable without being logged in depends on how the site serves uploads rather than on BuddyBoss’s privacy model, which is a separate question worth not conflating.

Pass the same type you would to the listing — photo, document or video.

Input

NameTypeRequiredWhat it is
media_idintegerYesThe media item.
typestringYesphoto, document or video.

What comes back

NameTypeWhat it is
mediaobjectOwner, privacy, container and URL.
groupobjectThe group, when the item belongs to one. It governs visibility.
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:

Who can see this photo?

It resolves to one call:

{
  "ability": "buddyboss/get-media",
  "parameters": {
    "media_id": 880,
    "type": "photo"
  }
}

Worth knowing

  • A group item takes the group’s visibility, not its own privacy value.
  • The two fields together are the real answer.
  • File reachability depends on how uploads are served, separately from this.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading