Namespaces
ovok.health
Check that the Ovok API and its dependencies are healthy.
- Stable unknown
- Release candidate since 0.4.49-rc.4
- Development since 0.4.49-dev.517+4645a0a
A health probe. It needs no sign-in and grants no access to project data.
Check the API
const health = await ovok.health.check();
if (!health.ok) {
throw new Error('Ovok API is not healthy');
}- The route always answers 200. Read
ok, not the HTTP status. dependenciesholds anokflag per dependency, by name.version,buildEnvandcommitHashare filled when the server reports them, and can benull.- Calls
GET healthcheck.
Reference
- health API reference: every method and type.
- Get started
- Errors and retries
Last updated on