Migrate to new GraphQL nodes

Last updated Apr 17, 2026 After 30 September 2021, Cloudflare will make the following changes to the Load Balancing GraphQL schema:

  • Deprecate nodes:
  • loadBalancingRequestsGroups will be deprecated for loadBalancingRequestsAdaptiveGroups
  • loadBalancingRequests will be deprecated for loadBalancingRequestsAdaptive
  • Deprecate the date field (replace it with the existing datetime field)
  • Add the sampleInterval field

Example query

The following example:

  • Replaces loadBalancingRequestsGroups with loadBalancingRequestsAdaptiveGroups
  • Replaces date with datetime
  • Uses the new sampleInterval field
query {
  viewer {
    zones(filter: { zoneTag: "your Zone ID" }) {
      loadBalancingRequestsAdaptiveGroups(
        filter: {
          datetime_gt: "2021-06-12T04:00:00Z",
          datetime_lt: "2021-06-13T06:00:00Z"
        }
      ) {
        dimensions {
          datetime
          coloCode
          ...
        }
        avg {
          sampleInterval
        }
      }
    }
  }
}

Was this helpful?

YesNo

On this page

Migrate to new GraphQL nodes - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/load-balancing/reference/migration-guides/load-balancing-graphql-nodes/#page","headline":"Migrate to new GraphQL nodes","description":"Migrate to new GraphQL analytics nodes.","url":"https://developers.cloudflare.com/load-balancing/reference/migration-guides/load-balancing-graphql-nodes/","inLanguage":"en","image":"https://developers.cloudflare.com/load-balancing/reference/migration-guides/load-balancing-graphql-nodes/og.png?v=b9aa58eaf342218a","dateModified":"2026-04-17","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/"},"keywords":["GraphQL","Migration"]}


description: Map geographic regions to pools using the API. title: Regions API image: https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/og.png?v=1cb6bfe2ae940645


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/load-balancing/llms.txt
Use this file to discover all available pages before exploring further.