Uptimy

Query-Level Health Checks

GraphQL API Monitoring

GraphQL hides failures behind HTTP 200. Uptimy executes real queries and validates your resolvers actually return the data your app expects.

03:07 · the GraphQL endpoint stopped answering queries.
GraphQL API
POST /graphql · { health }
Operational
  1. 03:06:00200 OK · 120 ms

03:07 · the problem

Why GraphQL Needs Different Monitoring

GraphQL APIs usually return HTTP 200, even when things are broken. A failing resolver returns { errors: [...] }, not a 500 status code. HTTP monitoring sees success while your users see errors.

Error Field Detection

Parse GraphQL errors from response body.

Nested Validation

Check deeply nested response fields exist.

Breaking Changes

A removed or renamed field fails the query, and the check.

Real Queries

Execute actual GraphQL queries, not just ping.

03:08 · where it breaks

GraphQL Failures HTTP Monitoring Misses

Every one of these returns HTTP 200 but breaks your app:

  • ✗Resolver throws exception and returns { data: null, errors: [...] }
  • ✗N+1 query timeout where nested resolvers time out under load
  • ✗Schema deployed without data source so new field returns null
  • ✗Auth resolver broken causing protected queries fail silently

07:30 · how Uptimy fixes it

How Uptimy Monitors GraphQL

Uptimy understands GraphQL. We execute real queries and validate the response structure and data:

Query Execution

Run your actual GraphQL queries as health checks.

Error Detection

Alert when errors array is present in response.

Data Assertions

Validate specific fields in the data response.

Variables Support

Pass variables to parameterize queries.

10:00 · set it up

Getting Started

Set up GraphQL monitoring in the dashboard:

  1. 1

    Create a GraphQL Monitor

    Select GraphQL as your monitor type and enter your GraphQL endpoint URL.

  2. 2

    Write Your Query

    Add the GraphQL query you want to run as a health check. Variables go in the config, through the API or uptimyctl.

  3. 3

    Add Authentication

    Add Bearer tokens or API keys as request headers under Advanced settings.

  4. 4

    Define Data Assertions

    GraphQL errors always fail the check. Under Checks, require the data fields you depend on and set a response time limit.

17:00 · questions

Frequently Asked Questions

Most GraphQL servers answer HTTP 200 even when the query failed, with the failure in the response's errors list. Uptimy fails the check on any GraphQL error, and lets you require the data fields you depend on.

Yes. You can execute mutations as health checks, useful for testing write paths. Just be careful to use test data or idempotent operations to avoid side effects.

Query the fields your clients use. If a deploy removes or renames one, the query fails validation and returns an error, and the check fails. This catches breaking changes without diffing the schema.

Add Bearer tokens, API keys, or any custom header under Advanced settings. Headers are sent with every run and aren't shown in check results. If the token comes from a login, a multi-step API check can log in first.

Yes. A JSON field check takes a path from the top of the response, and a number picks an item from a list: data.user.posts.0.title exists, or data.products.0.id exists to require a non-empty list.

20:00 · keep exploring

Related Topics

23:00 · goodnight

All systems operational

Stop wondering if production is okay.

Tonight, if something breaks, you will know first — with the context to fix it and a status page that keeps customers informed. And if nothing breaks, you get to sleep.

Free plan available · No credit card required · Cancel anytime