shilp-sdk 0.12.1

Rust SDK for the Shilp Vector Database API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
    }
}