shilp-sdk 0.15.0

Rust SDK for the Shilp Vector Database API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::client::Client;
use crate::error::Result;
use crate::models::HealthResponse;

impl Client {
    /// Performs a health check on the API
    pub async fn health_check(&self) -> Result<HealthResponse> {
        self.do_request::<HealthResponse, ()>(reqwest::Method::GET, "/health", None, None)
            .await
    }
}