Health check
curl --request GET \
--url https://api.illocution.ai/healthimport requests
url = "https://api.illocution.ai/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.illocution.ai/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}Health
Health check
Basic heartbeat endpoint. Returns status information.
GET
/
health
Health check
curl --request GET \
--url https://api.illocution.ai/healthimport requests
url = "https://api.illocution.ai/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.illocution.ai/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}Response
200 - application/json
Service is healthy
Example:
"ok"