updates.get
See a Site's update
/api/v1/sites/{siteId}/updates- Permission
site:read- MCP tool
updates.get
What it does
What a Site runs now (its Site Build and EmDash version) and the newer Site Build it can update to, if any: what moves (an EmDash release, WoFlare's Site Core, Kit code) and the Release Note written for it (headline, what you'll notice, anything that needs your OK, details for experts). Also the update running now, if one is, or else how the last one ended. Updates only ever move forward. Changes nothing.
Input
siteIdstringrequired
Output
siteIdstringrequiredcurrentobject or nullrequiredcurrent.siteBuildIdstringrequiredcurrent.emdashVersionstringrequiredavailableobject or nullrequiredavailable.siteBuildIdstringrequiredavailable.emdashVersionstringrequiredavailable.kindslist of "emdash" | "site-core" | "kit"requiredavailable.releaseNoteobjectrequiredavailable.releaseNote.headlinestringrequiredavailable.releaseNote.noticestringrequiredavailable.releaseNote.needsOkstring or nullrequiredavailable.releaseNote.detailslist of stringrequiredjobobject or nullrequiredjob.idstringrequiredjob.statusstringrequiredlastUpdateobject or nullrequiredlastUpdate.idstringrequiredlastUpdate.status"complete" | "errored"requiredlastUpdate.finishedAtinteger or nullrequiredlastUpdate.switchedbooleanrequired