---
title: "Health Check"
method: GET
path: "/health_check"
---

# Health Check

`GET /health_check`

Liveness health check.

When the ``ADVANCED_HEALTH_CHECK`` environment variable is ``"true"``, performs a
full connectivity check against Redis and PostgreSQL and returns a composite status
object.  Otherwise returns a minimal ``{"status": "ok"}`` ping response immediately,
keeping the endpoint lightweight for load-balancer probes.

Returns:
    JSONResponse: 200 when all checked services are healthy, 500 otherwise.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/async/apis/text-to-speech-api-service.md) · [All operations](https://skmtc.net/async/apis/text-to-speech-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/async/text-to-speech-api-service/versions/9bfc541b6e9a/schema)
