Health check
curl --request GET \
--url https://api.deepface.dev/healthconst options = {method: 'GET'};
fetch('https://api.deepface.dev/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.deepface.dev/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "gateway_draining",
"detail": "Gateway is draining."
}Service
Health check
GET
/
health
Health check
curl --request GET \
--url https://api.deepface.dev/healthconst options = {method: 'GET'};
fetch('https://api.deepface.dev/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.deepface.dev/health"
response = requests.get(url)
print(response.text){
"status": "ok"
}{
"error": "<string>",
"detail": "<string>"
}{
"error": "gateway_draining",
"detail": "Gateway is draining."
}Response
Gateway health response
Available options:
ok ⌘I