Health Check
GET/health
Health Check
Request
Responses
- 200
- 503
The Health Check is successful
- application/json
- Schema
- Example (from schema)
Schema
status string
info objectnullable
error objectnullable
details object
{
"status": "ok",
"info": {
"database": {
"status": "up"
}
},
"error": {},
"details": {
"database": {
"status": "up"
}
}
}
The Health Check is not successful
- application/json
- Schema
- Example (from schema)
Schema
status string
info objectnullable
error objectnullable
details object
{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://docs.zrobank.io/health' \
-H 'Accept: application/json'
ResponseClear