[TOC]

Health

The health check endpoint enables you to periodically test the health of your MeiliSearch instance.

Get health

GET

/health

Get health of MeiliSearch server.

Example

cURL

JavaScript

Python

PHP

Ruby

Go

Rust

curl \  -X GET 'http://localhost:7700/health'
client.health()
client.health()
$client->health();
client.health
client.Health()
// health() return an Err() if the server is not healthy, so this example would panic due to the unwrapclient.health().await.unwrap();

Response: 200 OK

{  "status": "available"}