Skip to main content
Checks the health status of the CyborgDB microservice to verify connectivity and service availability.

Returns

Promise<{ status: string; api_version: string; version: string }>: A Promise that resolves to the health status response from the CyborgDB service containing the service status, API version, and application version.

Exceptions

  • Throws if the health check request fails due to network connectivity issues.
  • Throws if the server is unreachable or times out.
  • Throws if authentication fails (invalid API key).
  • Throws if the CyborgDB service is unhealthy or experiencing issues.
  • Throws if there are internal server errors preventing health reporting.

Example Usage

Response Fields