Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

API to check Saviynt instance Status

Anurag
Regular Contributor
Regular Contributor

We are looking for a way to check the current status of our saviynt instance by using Rest API, if the instance is running or its down. This is to ensure that the saviynt instance is running before we call any of the other Saviynt native APIs.

we came across {{url}}/ECM/{{path}}/testConnection API, but this seems to be for testing db connection.

Please let me know if anyone is aware of such native API to check health status of Saviynt instance.

Thanks

10 REPLIES 10

rushikeshvartak
All-Star
All-Star

You can raise saviynt freshdesk ticket they monitor saviynt status using datadog


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Anurag
Regular Contributor
Regular Contributor

Hi Rushikesh,

Any way to check this status using native REST API?

Thanks

You can hit login API if that’s reachable then server is up else not


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Anurag
Regular Contributor
Regular Contributor

The requirement we have requires to check the status of saviynt instance before even logging in to saviynt, so at this point we won't be sending the username/password to saviynt.

A url like below to check the health status will be needed.

https://XXX.saviyntcloud.com/ECM/healthcheck

Currently there are no api provided by saviynt

https://documenter.getpostman.com/view/1797923/2s83mbojGM

you can request this as feature on saviynt ideas portal https://ideas.saviynt.com/ideas


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Enakshi
Saviynt Employee
Saviynt Employee

Just want to understand what would be the problem if you call login API by sending username/password.

Anurag
Regular Contributor
Regular Contributor

we are not sure what will be the response of login api when the saviynt instance is down also the internal checks saviynt will do for username/password will add up extra time in the total response time compared to having a dedicated endpoint for checking status of Instance. 

Aso we login once and use the generated token in subsequent api calls, but if we use login api for status check we will be calling the login api multiple times in short intervals not sure what would be the impact of that.

We have similar requirement and when we checked with Saviynt we got below URL which provides status of Saviynt components in JSON format without any authentication but it is not very helpful for our requirement. See if it helps you in your use case.

https://<base-url>/ECM/login/healthcheck

And below is the output it looks like

sk_1-1671731381538.png

{"checks":{"DB_Health":{"status":"pass","errorcode":"NA","message":"DB Service is up"},"ES_Health":{"status":"pass","errorcode":"NA","message":"Elastic server is up"}},"description":"Health of ECM service","status":"pass","timestamp":"12-22-2022 17:47:31"}

 


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Anurag
Regular Contributor
Regular Contributor

I think we can use this endpoint for our use case but this link is not accessible for us. Getting below error when we try out the above url.  

Anurag_0-1672751969205.png

Do we have to enable this endpoint from somewhere ?

It must be from v2020 onwards 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.