Query Cost in Extension on Client Side

In the API Explorer I can see a property in the extensions of the returned data displaying the query cost (in credits). Executing queries in React using the React Apollo hooks, I do not see this queryCost in the results. I do see the other data points such as touched_uids and tracing.

Is there a way I can get this data in my results without having to run the queries through the API Explorer to determine where the costly queries are.

@amaster507 Good Question. You can read this via the Graphql-Querycost response header, it is no longer available in the response body. I’ll add this to our documentation backlog.