Actions45
- Collection Actions
- Library Actions
- Media Actions
- Playlist Actions
- Search Actions
- Server Actions
- Session Actions
Collection → Get Items
AI-generatedSummary
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.