Plex
App · 20 actions
Browse Plex libraries, media, playlists, playback history and active sessions; refresh metadata and mark watched items.
Actions
| Action | What it does |
|---|---|
| Delete playlist | Delete playlist. |
| Get identity | Get identity. |
| Get item | Get item. |
| Get playlist | Get playlist. |
| Get server | Get server. |
| List clients | List clients. |
| List item children | List item children. |
| List item leaves | List item leaves. |
| List libraries | List libraries. |
| List library items | List library items. |
| List on deck | List on deck. |
| List play history | List play history. |
| List playlist items | List playlist items. |
| List playlists | List playlists. |
| List recently added | List recently added. |
| List sessions | List sessions. |
| Mark unwatched | Mark unwatched. |
| Mark watched | Mark watched. |
| Refresh item | Refresh item. |
| Refresh library | Refresh library. |
Delete playlist
Delete playlist.
Inputs
- Playlist
playlist_idtextRequired - Choose the playlist or use an ID from a previous step.
Outputs
datanull- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": null,
"has_more": false,
"next_cursor": null
}Get identity
Get identity.
Inputs
None.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"claimed": false,
"machineIdentifier": "example",
"size": 0,
"version": "example"
}
},
"has_more": false,
"next_cursor": null
}Get item
Get item.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}Get playlist
Get playlist.
Inputs
- Playlist
playlist_idtextRequired - Choose the playlist or use an ID from a previous step.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}Get server
Get server.
Inputs
None.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"friendlyName": "example",
"machineIdentifier": "example",
"size": 0,
"version": "example"
}
},
"has_more": false,
"next_cursor": null
}List clients
List clients.
Inputs
None.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Server": [],
"size": 0
}
},
"has_more": false,
"next_cursor": null
}List item children
List item children.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List item leaves
List item leaves.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List libraries
List libraries.
Inputs
None.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Directory": [],
"size": 0
}
},
"has_more": false,
"next_cursor": null
}List library items
List library items. Returns one page; use next_cursor to continue.
Inputs
- Library
library_idtextRequired - Choose the library or use an ID from a previous step.
- Starting position
offsetnumber - Number of records to skip. Leave empty to start at the beginning.At least 0.
- Results per page
limitnumber - Maximum records in this page. Leave empty for the service default.From 1 to 200.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List on deck
List on deck. Returns one page; use next_cursor to continue.
Inputs
- Starting position
offsetnumber - Number of records to skip. Leave empty to start at the beginning.At least 0.
- Results per page
limitnumber - Maximum records in this page. Leave empty for the service default.From 1 to 200.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List play history
List play history. Returns one page; use next_cursor to continue.
Inputs
- Starting position
offsetnumber - Number of records to skip. Leave empty to start at the beginning.At least 0.
- Results per page
limitnumber - Maximum records in this page. Leave empty for the service default.From 1 to 200.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List playlist items
List playlist items.
Inputs
- Playlist
playlist_idtextRequired - Choose the playlist or use an ID from a previous step.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List playlists
List playlists. Returns one page; use next_cursor to continue.
Inputs
- Starting position
offsetnumber - Number of records to skip. Leave empty to start at the beginning.At least 0.
- Results per page
limitnumber - Maximum records in this page. Leave empty for the service default.From 1 to 200.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List recently added
List recently added. Returns one page; use next_cursor to continue.
Inputs
- Starting position
offsetnumber - Number of records to skip. Leave empty to start at the beginning.At least 0.
- Results per page
limitnumber - Maximum records in this page. Leave empty for the service default.From 1 to 200.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}List sessions
List sessions.
Inputs
None.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {
"MediaContainer": {
"Metadata": [],
"size": 0,
"totalSize": 0
}
},
"has_more": false,
"next_cursor": null
}Mark unwatched
Mark unwatched.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Mark watched
Mark watched.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}Refresh item
Refresh item.
Inputs
- Item ID
item_idtextRequired - Item id.
Outputs
datanull- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": null,
"has_more": false,
"next_cursor": null
}Refresh library
Refresh library.
Inputs
- Library
library_idtextRequired - Choose the library or use an ID from a previous step.
Outputs
dataobject- Service response or returned records.
has_moretrue/false- Whether another page is available.
next_cursortext- Cursor for the next page; empty when finished.
Example output
{
"data": {},
"has_more": false,
"next_cursor": null
}