allmodels.ioDocs
API ReferenceHealth

Liveness probe

Returns `{ "ok": true }` and the deployed Git commit when the API is available. The commit is null when it was not injected at deployment. No authentication required.

GET/health

Returns { "ok": true } and the deployed Git commit when the API is available. The commit is null when it was not injected at deployment. No authentication required.

Response Body

application/json

Client
Language
const response = await fetch("https://api.allmodels.io/health");if (!response.ok) throw new Error(`AllModels request failed: ${response.status}`);console.log(await response.json());
{  "ok": true,  "commit": "0123456789abcdef0123456789abcdef01234567"}