Returns
Promise<object>
: A Promise that resolves to the health status response from the CyborgDB service. The exact structure depends on the server implementation but typically includes status information.
Exceptions
Error
Error
- Throws if the health check request fails due to network connectivity issues.
- Throws if the server is unreachable or times out.
Service Errors
Service Errors
- Throws if the CyborgDB service is unavailable or unreachable.
- Throws if there are internal server errors on the CyborgDB service.
Example Usage
Response Fields
Field | Type | Description |
---|---|---|
status | string | Current health status of the service (typically “healthy”) |
api_version | string | Version of the API interface (e.g., “v1”) |
version | string | Version of the CyborgDB application/service |