Skip to main content
Use print_schema for deterministic schema definition language output:
The development server publishes the same output at /schema.graphql. Its /schema.json route executes the built-in introspection query and returns a GraphQL response object. Introspection includes schema roots, named types, fields, arguments, input fields, interfaces, enum values, possible types, directives, deprecations, and nested type references.
SDL and introspection are derived from the compiled Schema; they are not separate sources of truth.