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 unwrap
client.health().await.unwrap();
Response: 200 OK
{
"status": "available"
}
当前内容版权归 MeiliSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 MeiliSearch .