Health

The /health endpoint returns a successful response when Consul-Terraform-Sync (CTS) is available and running. Requests to this endpoint are not logged, which makes it suitable for health checks that constantly poll CTS.

MethodPathProduces
GET/healthapplication/json

Response Statuses

StatusReason
200CTS is healthy

Example

The following request makes a GET call to the health endpoint:

  1. $ curl --request GET \
  2. localhost:8558/v1/health

Response:

  1. {}