Health Check
Hasura gives a health check endpoint to monitor the status of the GraphQL API. This is available under the /healthz
endpoint for all Hasura projects (including the OSS GraphQL Engine).
Make a GET
request to the /healthz
endpoint to fetch the status as follows:
curl -XGET https://advanced-hasura.hasura.app/healthz
Note: Replace (advanced-hasura) with your project name.
The status could be one of the following:
200, OK
- This requires no action. Everything is working correctly.200, WARN, inconsistent objects in schema
- This requires a review of metadata since some inconsistent objects have been identified. Usually, it occurs when ametadata apply
has the wrong objects.500, ERROR
- This means the API is not working, and the logs need to be checked.
Did you find this page helpful?
Start with GraphQL on Hasura for Free
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

