Skip to main content
POST
/
api
/
public
/
health
Check API health
curl --request POST \
  --url https://monitoryt.com/api/public/health \
  --header 'Content-Type: application/json' \
  --data '{}'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};

fetch('https://monitoryt.com/api/public/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://monitoryt.com/api/public/health"

payload = {}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "status": "ok"
}
{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}
{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}
{
"error": "<string>",
"message": "<string>",
"details": "<unknown>"
}

Body

application/json

JSON request body

The body is of type object.

Response

Successful response

status
enum<string>
required
Available options:
ok