Public build and version metadata
GET
/version
const url = 'https://example.com/api/version';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/versionNo auth. Returns application version and optional git SHA from deploy environment (Vercel, Fly, or GIT_COMMIT_SHA).
Responses
Section titled “ Responses ”Version payload
Media type application/json
object
version
required
string
git_sha
string | null