Plex icon

Plex

Interact with Plex Media Server API

Collection → Get Items

AI-generated

Summary

Retrieve all media items contained within a specified Plex collection by its rating key.

Inputs

  • Collection Rating Key (required) — The rating key (ID) of the collection to get items from.

Output shape

a list of media item objects contained within the specified collection.

Returns the child media items under the collection identified by the given rating key. Each list item represents one media entry within that collection.

Examples

Example 1: Retrieve all items in a collection

Set 'Collection Rating Key' to the collection's ID whose items you want to fetch.

Discussion