API endpoint to refresh WordPress plugin and core data

Hello Kinsta.

We’ve built an external tool (hosted on Sevalla) that pulls WordPress core and plugin data from the Kinsta API. However, the data shown in MyKinsta can take up to 12 hours to refresh, which makes it difficult to retrieve current update information on demand.

Is there an existing API endpoint that can trigger a refresh of the WordPress core and plugin data for a site or environment?

Ideally, we would call the refresh endpoint before retrieving the latest data. A webhook confirming that the refresh has completed would also be useful, but the main requirement is an API method to initiate the refresh.

Is this currently available or planned for the API roadmap?

Thanks :slight_smile:

Hi @J-Langdon ! :waving_hand: Welcome to the Kinsta community.

Unfortunately at this time we don’t have a way to refresh the list outside of MyKinsta via the API; however I have brought that to our development team as a feature request, as that’s definitely a good idea. Thank you for suggesting it!

Thanks for coming back to me so quickly @jackirish!

The new functionality if implemeneted would be helpful for many using the Kinsta API as without the refresh ability users will still need to head back to My Kinsta. In effect, this means that yoru existing endpoints to update plugins / core is relatively pointless.

Jarrad