It’s currently possible to create sites using the sites API but there’s no way to get a list of all sites in my Plausible account. Would be nice to add an endpoint to the sites API for that as well.
You can now get a list of your existing sites and goals associated to those sites using the sites API.