About this format
GraphQL introspection allows clients to query the server for its schema, returning a massive JSON tree.
Example Data
{
"data": {
"__schema": {
"types": [
{
"name": "Query",
"kind": "OBJECT"
}
]
}
}
}When to use GraphQL Introspection
- Generating GraphQL clients
- Powering GraphiQL autocomplete
- Validating queries