List site items
Returns every plugin, theme and WordPress version installed on the websites your token can reach, one row per website and item. Use it to answer “which of my websites run this plugin?” (filter by component) or “what is waiting for an update on these websites?”. Sorted by name unless you sort otherwise.
Items whose update notice you hid are left out unless you filter on is_hidden.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
Component id: returns the installs of one plugin, theme or WordPress version. Ids come from "List components".
Exact WordPress versions of the website, for example 6.8.1. Several values match any of them.
Exact PHP versions of the website, for example 8.2.27. Several values match any of them.
Item types: core, plugin or theme. Several values match any of them.
Item states: active, inactive or uninstalled. Several values match any of them.
1 for items with a newer version available, 0 for items that are up to date.
1 for items that can be updated now: a newer version exists, the update notice is not hidden and the website accepts installs. 0 for the rest.
1 for items whose installed version has a known vulnerability, 0 for items without one.
Free-text search on the item's name.
Sort order: name (default, ascending), type, site_name, new_version, released_at or copilot_score. Prefix with - for descending.
Attributes to return, comma-separated; only those are returned. These computed attributes are left out unless named: copilot_score (the Update Copilot score), released_at (with days_since_release), in_progress_action_id, in_progress_action_type, in_progress_action_status, last_error, can_upgrade, can_safe_upgrade, can_activate, can_deactivate, can_delete and history.
Related records to embed: site embeds the website each item is installed on.
Response
200 - Site items
