Liveness probe
curl --request GET \
--url https://api.atlaswork.ai/api/healthconst options = {method: 'GET'};
fetch('https://api.atlaswork.ai/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.atlaswork.ai/api/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}system
Liveness probe
Returns ok when the api process is serving requests. Does not touch the database or require auth.
GET
/
api
/
health
Liveness probe
curl --request GET \
--url https://api.atlaswork.ai/api/healthconst options = {method: 'GET'};
fetch('https://api.atlaswork.ai/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.atlaswork.ai/api/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}Response
200 - application/json
Service is healthy
Available options:
ok