Liveness check
curl --request GET \
--url http://localhost:8080/healthimport requests
url = "http://localhost:8080/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8080/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok",
"version": "0.6.1"
}HTTP API
Liveness check
Report that the gateway process is serving, and which warpllm version it was built from.
GET
/
health
Liveness check
curl --request GET \
--url http://localhost:8080/healthimport requests
url = "http://localhost:8080/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://localhost:8080/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok",
"version": "0.6.1"
}