Syncing GQL Schema

Last updated: 1 minute read.

A GraphQL Proxy API keeps an own copy of the upstream GraphQL schema. This also means that when the upstream GraphQL schema changes, those changes need to be transfered to the proxy schema.

For that Tyk Dashboard always saves the timestamp of the last schema change when updating a GraphQL API. This information can be used to determine if the schema is out-dated and needs to be synced with upstream again. It can be found above the schema editor.

For syncing the schema just press the resync button.

Note

Syncing schemas is only available for proxy-only GraphQL APIs and not for UDG.

Sync Schema Button

If your upstream is protected then you need to make sure you provide Tyk with the authorization details to execute introspection query correctly. You can add those detail while creating GQL API or using Introspection headers later on.