Summarize websites
Returns how many websites you have and how they are spread across the versions they run: WordPress, PHP, the Modular Connector plugin and the database. Use it to answer questions such as “how many of my websites still run an old PHP version?” without listing every website.
The counts cover the websites your token can reach. Narrow them with the same filters as “List websites”, for example one team or one tag. Only filter is accepted: there is nothing to sort, page or include here, so sort, page, fields and include answer 422.
Each list has one row per version, newest first, plus a row without a version for websites that have never synchronized, and adds up to the total.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
1 for websites whose connection works, 0 for websites that are not connected.
Free-text search on the website's name, slug or address.
Exact WordPress versions, for example 6.8.1. Several values match any of them.
Exact PHP versions, for example 8.2.27. Several values match any of them.
1 for websites with Patch & Protect switched on, 0 for websites without it.
