The /health route allows you to verify the status and availability of a Meilisearch instance.
/health
Get health of Meilisearch server.
curl \ -X GET 'http://localhost:7700/health'
client.health()
$client->health();
client.health();
client.health
client.Health()
await client.HealthAsync();
// health() return an Err() if the server is not healthy, so this example would panic due to the unwrap client .health() .await .unwrap();
client.health { (result) in switch result { case .success: print("Healthy!") case .failure(let error): print(error) } }
await client.health();
200 OK
{ "status": "available" }
← Stats Version →