Health Check

Hasura gives a health check endpoint to monitor the status of the GraphQL API. This is available under /healthz endpoint for all Hasura projects (including the OSS GraphQL Engine).

Make a GET request to the /healthz endpoint to fetch the status.

curl -XGET https://advanced-hasura.hasura.app/healthz

Replace (advanced-hasura) with your project name.

The status could be one of the following:

  • 200, OK - This requires no action. Everything is working as expected.
  • 200, WARN, inconsistent objects in schema - This requires a review of metadata since some inconsistent objects have been identified. Usually occurs when there is a metadata apply that had the wrong objects.
  • 500, ERROR - This means the API is not working and the logs need to be checked.
Close

Get Started with GraphQL Now

Hasura Cloud gives you a fully managed, production ready GraphQL API as a service to help you build modern apps faster.
Ready to get started?
Start for free on Hasura Cloud or you could contact our sales team for a detailed walk-through on how Hasura may benefit your business.
Stay in the know
Sign up for full access to our community highlights, new features, and occasional baby animal gifs! Oh, and we have a strict no-spam rule. ✌️