jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Enable introspective queries for GraphQL schemas

On this page

Enable introspective queries for GraphQL schemas

Discover the queries and mutations supported by schemas on your instance by enabling introspection.

Before you begin

Role required: admin

About this task

When introspective queries are enabled, GraphQL Explorer shows the schemas on the instance in the documentation pane and as auto-complete suggestions, which makes finding queries and mutations easier.

Note: Do not use introspective queries in a production environment.

Procedure

  1. Navigate to System Web Services > GraphQL > Properties.

  2. Select the Enable/Disable introspective queries for the GlideRecord Schema option.

  3. Select the Enable/Disable introspective queries for users to discover the supported GraphQL queries and types option.

  4. Select Save.

Parent Topic:Query record data using the GraphQL API framework

Keep exploring.

Find another answer, or bring this documentation into your own tools.