1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/docs/api/internal/health.md
2021-02-25 16:55:18 +01:00

31 lines
481 B
Markdown

---
id: health
title: /health
---
# Health API
`GET http://unleash.host.com/health`
Used to check the health of the running Unleash instance. This endpoint has two possible responses:
`Status: 200`
```json
{
"health": "GOOD"
}
```
This response means everything is OK. Unleash is able to talk to the PostgreSQL
`Status: 500`
```json
{
"health": "BAD"
}
```
This response indicates that Unleash is not able to talk to PostgreSQL and will not be able to serve requests.