Is there a way to get the latest GitLab version using API?

I didn’t see this when I opened this: Monitoring For Gitlab Software Package Updates and CVEs?

TLDR; you can get available updates with something like this:

VERSION=`echo '{"version": "16.8.1"}' | base64`
curl -e "https://myserver.some.domain" "https://version.gitlab.com/check.json?gitlab_info=${VERSION}"