> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-ahmet-router-565-add-mcp-resources-support-f.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-router-565-add-mcp-resources-support-f/-8MvlInLpekFnRxX/images/router/cosmo-studio-playground-query-plan.png?fit=max&auto=format&n=-8MvlInLpekFnRxX&q=85&s=ae9085497d7f546df1935880f5da9208" 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>
