Instance health via REST

lucaburgazzoli
Mega Contributor

Hello,

is there any REST endpoint available to check if an instance is healthy ? Like what GitHub does here GitHub System Status

Regards,

Luca

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Luca,



You may find the below thread helpful.


Health Check on SN Instance


I think that is too much for my use case, I'd just need to know if an instance is ready to serve REST calls like throw an HTTP GET request to an address and receive either 200 or any failure code.



Is there something available ?


Jochen Geist
ServiceNow Employee
ServiceNow Employee

You can just use the REST API for this and query a table of your choice.


This either returns 200 as status or an error.



Take a look at the REST API explorer inside your instance for more details.


Yeah this is what I do as today but wanted to find out a better option.