Skip to content

Instantly share code, notes, and snippets.

@ratnadip1998
Created April 9, 2026 12:25
Show Gist options
  • Select an option

  • Save ratnadip1998/93690b6ffd26374b9fad143522b5fb8e to your computer and use it in GitHub Desktop.

Select an option

Save ratnadip1998/93690b6ffd26374b9fad143522b5fb8e to your computer and use it in GitHub Desktop.
{
"query": "{ __typename }"
}
---------------------
{
"query": "{ __schema { queryType { name } mutationType { name } subscriptionType { name } } }"
}
---------------------
{
"query": "{ __schema { types { name kind } } }"
}
---------------------
{
"query": "query { __type(name: \"User\") { name fields { name type { name } } } }"
}
---------------------
{
"query": "query IntrospectionQuery { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description locations args { ...InputValue } } } } fragment FullType on __Type { kind name description fields(includeDeprecated: true) { name description args { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name description isDeprecated deprecationReason } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name } } } }"
}
---------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment