Capture GraphQL queries with Chrome DevTools
Last updated Apr 23, 2026 Using Chrome DevTools ↗︎, you can capture the queries running behind the Cloudflare Dashboard analytics. In this example, we will focus on the Network Analytics dataset, but the same process can be applied to any other analytics available in your dashboard.
- In the Cloudflare dashboard, go to the Network Analytics page or any other analytics dashboard you are interested in seeing the GraphQL queries in. Go to Network analytics ↗

- Open the Chrome Developer Tools ↗︎ and select Inspect.

- Select the Network tab in the Developer Tools panel.
- In the filter bar, type
graphqlto filter out the GraphQL requests. If no requests appear, try reloading the page. As the page reloads, several network requests will populate the Network tab. Look for requests that containgraphqlin the name.

- Select one of the GraphQL requests to open its details and go to the Payload tab. There you will find the GraphQL query. Select the query line and then Copy value to capture the query.

- If you want to capture a new query, adjust the filters in the Network analytics dashboard and a new query will appear in the GraphQL requests.

You can now use this query as the basis for your API call. Refer to the Get started section for more information.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard/#page","headline":"Capture GraphQL queries with Chrome DevTools","description":"Capture dashboard GraphQL queries using Chrome DevTools.","url":"https://developers.cloudflare.com/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard/","inLanguage":"en","image":"https://developers.cloudflare.com/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard/og.png?v=bdd823697067fe4c","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Query HTTP request metrics by hostname. title: Querying HTTP events by hostname with GraphQL image: https://developers.cloudflare.com/analytics/graphql-api/tutorials/end-customer-analytics/og.png?v=dddbad7b66e15bad
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/analytics/llms.txt
Use this file to discover all available pages before exploring further.
