---
title: Capture GraphQL queries with Chrome DevTools · Cloudflare Analytics docs
description: 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.
lastUpdated: 2024-09-11T11:09:20.000Z
source_url:
  html: https://3600593d.preview.developers.cloudflare.com/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard/index.md
  md: https://3600593d.preview.developers.cloudflare.com/analytics/graphql-api/tutorials/capture-graphql-queries-from-dashboard/
---

Using [Chrome DevTools](https://developer.chrome.com/docs/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.

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
2. Go to **Analytics & Logs** and select the **Network Analytics** dashboard or any other analytics dashboard you are interested in seeing the GraphQL queries in.

![Analytics tab](https://developers.cloudflare.com/_astro/analytics-tab.sJIMwybT_Z15iHxn.webp)

1. Open the [Chrome Developer Tools](https://developer.chrome.com/docs/devtools) and select **Inspect**.

![Chrome developer tools](https://developers.cloudflare.com/_astro/chrome-developer-tools.D4a36rnA_gEdsH.webp)

1. Select the **Network** tab in the Developer Tools panel.
2. In the filter bar, type `graphql` to 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 contain `graphql` in the name.

![Type graphql in the search field](https://developers.cloudflare.com/_astro/search-field.BxHnt1F0_Z138uai.webp)

1. 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.

![Copy query value](https://developers.cloudflare.com/_astro/copy-value.BZMZMU5__ZUUUgm.webp)

1. 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.

![Create a new query](https://developers.cloudflare.com/_astro/new-query.TN7tG2lX_Z3Eqki.webp)

You can now use this query as the basis for your API call. Refer to the [Get started](https://developers.cloudflare.com/analytics/graphql-api/getting-started/) section for more information.
