Class HealthApi


  • public class HealthApi
    extends Object
    • Constructor Detail

      • HealthApi

        public HealthApi()
      • HealthApi

        public HealthApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(String customBaseUrl)
      • healthCheckCall

        public okhttp3.Call healthCheckCall​(ApiCallback _callback)
                                     throws ApiException
        Build call for healthCheck
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Confirmation that the service is healthy and can make embedding vectors -
        400 Service error relating to making an embedding or overall service health -
      • healthCheck

        public void healthCheck()
                         throws ApiException
        Health Check Health Check Confirmation that the service is healthy and can make embedding vectors
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Confirmation that the service is healthy and can make embedding vectors -
        400 Service error relating to making an embedding or overall service health -
      • healthCheckWithHttpInfo

        public ApiResponse<Void> healthCheckWithHttpInfo()
                                                  throws ApiException
        Health Check Health Check Confirmation that the service is healthy and can make embedding vectors
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 Confirmation that the service is healthy and can make embedding vectors -
        400 Service error relating to making an embedding or overall service health -
      • healthCheckAsync

        public okhttp3.Call healthCheckAsync​(ApiCallback<Void> _callback)
                                      throws ApiException
        Health Check (asynchronously) Health Check Confirmation that the service is healthy and can make embedding vectors
        Parameters:
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 Confirmation that the service is healthy and can make embedding vectors -
        400 Service error relating to making an embedding or overall service health -