Skip to main content
Version: v2.x

Subscriptions

Introduction

A GraphQL subscription is essentially a query where the client receives an update whenever the value of any field changes upstream.

Subscriptions are supported for all kinds of queries. All the concepts of queries hold true for subscriptions as well.

One root field in a subscription

Hasura follows the GraphQL spec which allows for only one root field in a subscription.

Subscriptions are not currently supported for remote schemas.

Explore subscriptions

Additional Resources