Plex icon

Plex

Interact with Plex Media Server API

Library → Refresh

AI-generated

Summary

Trigger a refresh of the specified Plex library section's metadata, optionally forcing a full metadata refresh.

Inputs

  • Library Key (required) — The key/ID of the Plex library section to refresh.
  • Options — Additional options for the refresh operation, including whether to force a full metadata refresh.
  • Force — Boolean flag to force a full refresh of all metadata when set to true.

Output shape

a single JSON object representing the response from the Plex API for the refresh request

The operation makes an HTTP GET request to Plex API's /library/sections/{libraryKey}/refresh endpoint with optional query parameters. The returned data shape depends on the Plex API response and includes status details about the refresh. Errors will be captured if the request fails.

Discussion