GraphQL Cookbook

Checking the Parse GraphQL API health

Problem

You want to check the Parse Server backend health through the GraphQL API.

Solution

Using the Parse GraphQL API, you can check the backend health by calling the health query.

Example:
1
2
3
query Health {
  health
}
Result:
1
2
3
4
5
{
  "data": {
    "health": true
  }
}