The GraphQL API supports real-time subscriptions for content updates via WebSocket connections.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Subscription Schema
Available Subscriptions
contentUpdated
Watch for updates to published content
previewUpdated
Watch for updates to draft previews
WebSocket Client Setup
Using graphql-ws
For Preview Subscriptions
UsepreviewToken instead of x-api-key:
Handling Large Payloads
AWS WebSocket has a 100KB payload limit. When data exceeds this limit:- The
contentorcomponentfield will benull - The
resolvedReffield is always included - Fetch the full data separately using the ID
- Use the
resolvedRefto fetch package data
Related
- Subscription Types - ContentUpdate, PreviewUpdate type definitions
- Caching - Normalized package caching for subscriptions