1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/website/docs/reference/api/legacy/unleash/internal/health.md

30 lines
470 B
Markdown
Raw Normal View History

2021-02-25 16:55:18 +01:00
---
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.