Skip to content

Instantly share code, notes, and snippets.

@sramam
Created January 3, 2025 10:20
Show Gist options
  • Select an option

  • Save sramam/a27630b2e54088c22952270e2a9f1778 to your computer and use it in GitHub Desktop.

Select an option

Save sramam/a27630b2e54088c22952270e2a9f1778 to your computer and use it in GitHub Desktop.
introspection query
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
kind
name
description
fields(includeDeprecated: true) {
name
description
args {
name
description
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
defaultValue
}
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
isDeprecated
deprecationReason
}
inputFields {
name
description
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
defaultValue
}
interfaces {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
directives {
name
description
locations
args {
name
description
type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
defaultValue
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment