> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-ahmet-eng-9125-docs-update-mcp-documentation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Plan

> The router allows you to request the query plan and you can view the same in the playground

Include the header `X-WG-Include-Query-Plan` to receive the query plan in the extensions field. The below headers are also useful

`X-WG-Skip-Loader` : Skip requests to subgraph, this will return data as null

`X-WG-Disable-Tracing` : This will ensure that requests for query plan are not traced in the router

<Frame caption="Cosmo Studio Playground showing the GraphQL query and its generated query plan">
  <img src="https://mintcdn.com/wundergraphinc-ahmet-eng-9125-docs-update-mcp-documentation/6tV5VJ0zwJ7qta35/images/router/cosmo-studio-playground-query-plan.png?fit=max&auto=format&n=6tV5VJ0zwJ7qta35&q=85&s=7a37740c6f581ca500cf1d5912f20f81" alt="Cosmo Studio Playground displaying a GraphQL query alongside its generated query plan." width="1425" height="1847" data-path="images/router/cosmo-studio-playground-query-plan.png" />
</Frame>
