Check instance health via API

Gowtham13
Tera Contributor

Hi all,

 

Is there any way to check if the ServiceNow instance is up and running  through a REST API call from an External Application?

8 REPLIES 8

Can I create a separate Scripted rest API for this purpose?

Yes, you can create a separate Scripted REST API in ServiceNow to check the instance status. By defining a custom endpoint, you can also tailor the response to return other relevant información about status or system health beyond just using the simple 200 OK response. All depends on your specific needs and how much you want to invest on it.

 

Hope that Helps!

Please mark this response correct by clicking on "Accept as Solution" and/or mark it as "Helpful" (kudos) if it helps. 

do we have any API to get the System Information  and Health?

I don't know any direct specific Health API. Depending on what you want to consult, you can check the system_properties for information, or if there is an existing metric or you have defined one, maybe you can consult it using the metric_base API, also you can be interested in execute server-side commands, etc.

Check all the API REST available in the ServiceNow API docs for ideas about what you can consult and what is available depending of what you need to check:

https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/build/applications/concept/api-re...