Plex Hubs API

The hubs within a media provider

GitHub OpenAPI
Business capability
On-Demand Catalogue Curation BC-3730.30

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /hubs List the global hub sections · Get global hubs #
Ask an LLM
“What global hub sections are available on my Plex Media Server?”
“Can I list only the transient hubs like On Deck?”
Tell an agent
List the global hub sections.
List the global hubs matching {identifier}.
GET /hubs/items List the items in a hub · Get a hub's items #
Ask an LLM
“What items are in a particular hub?”
“Can I limit how many items come back for one hub?”
Tell an agent
List the items in hub {identifier}.
Show {count} items from hub {identifier}.
GET /hubs/continueWatching Get the continue watching hub · Get the continue watching hub #
Ask an LLM
“What shows are on my continue watching hub?”
“Can I limit how many items come back for continue watching?”
Tell an agent
Get my continue watching hub.
Show {count} items on the continue watching hub.
GET /hubs/promoted Get the promoted hubs · Get the hubs which are promoted #
Ask an LLM
“Which hubs are promoted to the home screen?”
“Can I limit how many promoted hubs come back?”
Tell an agent
Get the promoted hubs.
Show {count} promoted hubs.
GET /hubs/metadata/{metadataId} Get section hubs for a metadata item · Get hubs for a section by metadata item #
Ask an LLM
“What hubs are available for a specific music section?”
“Can I limit how many section hubs come back for a metadata item?”
Tell an agent
Get the section hubs for metadata item {metadataId}.
Show {count} section hubs for metadata item {metadataId}.
GET /hubs/metadata/{metadataId}/related Get hubs for a related metadata item · Get related hubs #
Ask an LLM
“What hubs are related to a given metadata item?”
“Can I limit how many related hubs come back?”
Tell an agent
Get the hubs for metadata item {metadataId} related to this one.
Show {count} hubs related to metadata item {metadataId}.
GET /hubs/metadata/{metadataId}/postplay Get hubs to show after a media item finishes · Get postplay hubs #
Ask an LLM
“What hubs should play after a media item finishes?”
“Can I limit how many postplay hubs come back?”
Tell an agent
Get the postplay hubs for metadata item {metadataId}.
Show {count} postplay hubs for metadata item {metadataId}.
GET /hubs/sections/{sectionId} Get the hubs for a media section · Get section hubs #
Ask an LLM
“What hubs are in a particular media section?”
“Can I limit how many section hubs come back?”
Tell an agent
Get the hubs for section {sectionId}.
Show {count} hubs in section {sectionId}.
GET /hubs/sections/{sectionId}/manage List a section's hubs · Get hubs #
Ask an LLM
“What hubs are available in a media section?”
“Can I list only the hubs relevant to one metadata item in a section?”
Tell an agent
List the hubs in section {sectionId}.
Show the hubs in section {sectionId} relevant to metadata item {metadataItemId}.
DELETE /hubs/sections/{sectionId}/manage Reset a section's hubs to defaults · Reset hubs to defaults #
Ask an LLM
“How do I reset a section's hubs back to the defaults?”
“Does resetting section hubs delete custom hubs?”
Tell an agent destructive · confirm first
Reset the hubs in section {sectionId} to defaults.
Delete all custom hubs in section {sectionId}.
POST /hubs/sections/{sectionId}/manage Create a custom hub in a section · Create a custom hub #
Ask an LLM
“How do I create a custom hub in a media section?”
“Can a new section hub be promoted to the home screen?”
Tell an agent
Create a custom hub in section {sectionId} based on metadata item {metadataItemId}.
Create a custom hub in section {sectionId} from {metadataItemId} promoted to the home screen.
PUT /hubs/sections/{sectionId}/manage/move Reorder a hub in a section · Move Hub #
Ask an LLM
“How do I move a hub to a different position in a section?”
“Can I put a hub at the top of a section by moving it after another hub?”
Tell an agent
Move hub {identifier} in section {sectionId} to the top.
Move hub {identifier} in section {sectionId} after hub {after}.
PUT /hubs/sections/{sectionId}/manage/{identifier} Change a hub's visibility in a section · Change hub visibility #
Ask an LLM
“How do I hide a hub from the admin or shared home screen?”
“Can I promote a hub to the shared user's home screen?”
Tell an agent
Hide hub {identifier} from the admin home in section {sectionId}.
Promote hub {identifier} to the shared user home in section {sectionId}.
DELETE /hubs/sections/{sectionId}/manage/{identifier} Delete a custom hub · Delete a custom hub #
Ask an LLM
“How do I delete a custom hub I created?”
“Can I remove one custom hub from a section?”
Tell an agent destructive · confirm first
Delete custom hub {identifier} from section {sectionId}.
Remove hub {identifier} in section {sectionId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/plex:plex-hubs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

plex-hubs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plex Media Server Hubs API
  version: '1.2.2

    '
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  description: '# API Info

    ## Content Types

    The API supports responses in both XML and JSON, and clients can request one or the other using the standard `Accept` HTTP header.'
servers:
- url: https://{IP-description}.{identifier}.plex.direct:{port}
  variables:
    IP-description:
      default: 1-2-3-4
      description: A `-` separated string of the IPv4 or IPv6 address components
    identifier:
      default: 0123456789abcdef0123456789abcdef
      description: The unique identifier of this particular PMS
    port:
      default: '32400'
security:
- user_token:
  - shared user
  - admin
tags:


# --- truncated at 32 KB (81 KB total) ---
# Full source: https://artifacts.apis.io/plex/openapi/plex-hubs-api-openapi.yml