Health-Readiness

Purpose

The purpose of Health-Readiness REST API is to return information indicating whether or not Optimize is ready to be used.

Method & HTTP Target Resource

GET /api/readyz

Response

The response is an empty body with the status code indicating the readiness of Optimize. The following responses are available:

  • 200: This indicates that Optimize is ready to use. It is connected to both Elasticsearch and at least one of its configured engines.
  • 503: This indicates that Optimize is not ready to use. It cannot connect to either Elasticsearch or any of its configured engines.