- URL:
- https://<host>/<instance>/rest/info/healthCheck
- Methods:
GET
- Version Introduced:
- 10.1
Description
The health check reports whether the responding machine in the ArcGIS Server site is able to receive and process requests. For example, during site creation, this URL reports the site is unhealthy because it can't take requests at that time.
This endpoint is useful if you're setting up a third-party load balancer or other monitoring software that supports a health check function.
A healthy (available) site will return an HTTP 200 response code along with a message indicating "success": true
(noted below). An unhealthy (unavailable) site will return messaging other than HTTP 200.
Request parameters
Parameter | Details |
---|---|
| Description: The response format. The default response format is html. Values: html | json |
Example usage
https://sampleserver5.arcgisonline.com/arcgis/rest/info/healthCheck
JSON Response syntax
{"success": <true | false>}
JSON Response example
{"success": true}