Skip to content
Start here

Get AS112 DNS queries by DNS protocol summary

client.Radar.AS112.Summary.Protocol(ctx, query) (*AS112SummaryProtocolResponse, error)
GET/radar/as112/summary/protocol

Retrieves the distribution of DNS queries to AS112 by protocol.

Security
API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example:X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example:X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Accepted Permissions (at least one required)
User Details WriteUser Details Read
ParametersExpand Collapse
query AS112SummaryProtocolParams
Continent param.Field[[]string]Optional

Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude continents from results. For example, -EU,NA excludes results from EU, but includes results from NA.

DateEnd param.Field[[]Time]Optional

End of the date range (inclusive). Alternative to dateRange; provide together with dateStart. When requesting comparison series, every series must resolve to the same duration as the main series. Each dateStart/dateEnd is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.

DateRange param.Field[[]string]Optional

Filters results by relative date range ending at the current time, with each value producing a separate series. Use <n>d for days (up to 364d) or <n>w for weeks (up to 52w). Append control to request the equivalent previous period for comparison: the comparison window is shifted back by the current window’s length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. 7dcontrol covers days -14 to -7, 10dcontrol covers days -24 to -14). For example, pass 7d and 7dcontrol to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including control) satisfy this automatically. Use this parameter or set specific start and end dates (dateStart and dateEnd parameters).

DateStart param.Field[[]Time]Optional

Start of the date range. Alternative to dateRange; provide together with dateEnd. When requesting comparison series, every series must resolve to the same duration as the main series. Each dateStart/dateEnd is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.

Format param.Field[AS112SummaryProtocolParamsFormat]Optional

Format in which results will be returned.

const AS112SummaryProtocolParamsFormatJson AS112SummaryProtocolParamsFormat = "JSON"
const AS112SummaryProtocolParamsFormatCsv AS112SummaryProtocolParamsFormat = "CSV"
Location param.Field[[]string]Optional

Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude locations from results. For example, -US,PT excludes results from the US, but includes results from PT.

Name param.Field[[]string]Optional

Array of names used to label the series in the response.

QueryType param.Field[[]AS112SummaryProtocolParamsQueryType]Optional

Filters results by DNS query type.

const AS112SummaryProtocolParamsQueryTypeA AS112SummaryProtocolParamsQueryType = "A"
const AS112SummaryProtocolParamsQueryTypeAAAA AS112SummaryProtocolParamsQueryType = "AAAA"
const AS112SummaryProtocolParamsQueryTypeA6 AS112SummaryProtocolParamsQueryType = "A6"
const AS112SummaryProtocolParamsQueryTypeAfsdb AS112SummaryProtocolParamsQueryType = "AFSDB"
const AS112SummaryProtocolParamsQueryTypeAny AS112SummaryProtocolParamsQueryType = "ANY"
const AS112SummaryProtocolParamsQueryTypeApl AS112SummaryProtocolParamsQueryType = "APL"
const AS112SummaryProtocolParamsQueryTypeAtma AS112SummaryProtocolParamsQueryType = "ATMA"
const AS112SummaryProtocolParamsQueryTypeAXFR AS112SummaryProtocolParamsQueryType = "AXFR"
const AS112SummaryProtocolParamsQueryTypeCAA AS112SummaryProtocolParamsQueryType = "CAA"
const AS112SummaryProtocolParamsQueryTypeCdnskey AS112SummaryProtocolParamsQueryType = "CDNSKEY"
const AS112SummaryProtocolParamsQueryTypeCds AS112SummaryProtocolParamsQueryType = "CDS"
const AS112SummaryProtocolParamsQueryTypeCERT AS112SummaryProtocolParamsQueryType = "CERT"
const AS112SummaryProtocolParamsQueryTypeCNAME AS112SummaryProtocolParamsQueryType = "CNAME"
const AS112SummaryProtocolParamsQueryTypeCsync AS112SummaryProtocolParamsQueryType = "CSYNC"
const AS112SummaryProtocolParamsQueryTypeDhcid AS112SummaryProtocolParamsQueryType = "DHCID"
const AS112SummaryProtocolParamsQueryTypeDlv AS112SummaryProtocolParamsQueryType = "DLV"
const AS112SummaryProtocolParamsQueryTypeDname AS112SummaryProtocolParamsQueryType = "DNAME"
const AS112SummaryProtocolParamsQueryTypeDNSKEY AS112SummaryProtocolParamsQueryType = "DNSKEY"
const AS112SummaryProtocolParamsQueryTypeDoa AS112SummaryProtocolParamsQueryType = "DOA"
const AS112SummaryProtocolParamsQueryTypeDS AS112SummaryProtocolParamsQueryType = "DS"
const AS112SummaryProtocolParamsQueryTypeEid AS112SummaryProtocolParamsQueryType = "EID"
const AS112SummaryProtocolParamsQueryTypeEui48 AS112SummaryProtocolParamsQueryType = "EUI48"
const AS112SummaryProtocolParamsQueryTypeEui64 AS112SummaryProtocolParamsQueryType = "EUI64"
const AS112SummaryProtocolParamsQueryTypeGpos AS112SummaryProtocolParamsQueryType = "GPOS"
const AS112SummaryProtocolParamsQueryTypeGid AS112SummaryProtocolParamsQueryType = "GID"
const AS112SummaryProtocolParamsQueryTypeHinfo AS112SummaryProtocolParamsQueryType = "HINFO"
const AS112SummaryProtocolParamsQueryTypeHip AS112SummaryProtocolParamsQueryType = "HIP"
const AS112SummaryProtocolParamsQueryTypeHTTPS AS112SummaryProtocolParamsQueryType = "HTTPS"
const AS112SummaryProtocolParamsQueryTypeIpseckey AS112SummaryProtocolParamsQueryType = "IPSECKEY"
const AS112SummaryProtocolParamsQueryTypeIsdn AS112SummaryProtocolParamsQueryType = "ISDN"
const AS112SummaryProtocolParamsQueryTypeIxfr AS112SummaryProtocolParamsQueryType = "IXFR"
const AS112SummaryProtocolParamsQueryTypeKey AS112SummaryProtocolParamsQueryType = "KEY"
const AS112SummaryProtocolParamsQueryTypeKx AS112SummaryProtocolParamsQueryType = "KX"
const AS112SummaryProtocolParamsQueryTypeL32 AS112SummaryProtocolParamsQueryType = "L32"
const AS112SummaryProtocolParamsQueryTypeL64 AS112SummaryProtocolParamsQueryType = "L64"
const AS112SummaryProtocolParamsQueryTypeLOC AS112SummaryProtocolParamsQueryType = "LOC"
const AS112SummaryProtocolParamsQueryTypeLp AS112SummaryProtocolParamsQueryType = "LP"
const AS112SummaryProtocolParamsQueryTypeMaila AS112SummaryProtocolParamsQueryType = "MAILA"
const AS112SummaryProtocolParamsQueryTypeMailb AS112SummaryProtocolParamsQueryType = "MAILB"
const AS112SummaryProtocolParamsQueryTypeMB AS112SummaryProtocolParamsQueryType = "MB"
const AS112SummaryProtocolParamsQueryTypeMd AS112SummaryProtocolParamsQueryType = "MD"
const AS112SummaryProtocolParamsQueryTypeMf AS112SummaryProtocolParamsQueryType = "MF"
const AS112SummaryProtocolParamsQueryTypeMg AS112SummaryProtocolParamsQueryType = "MG"
const AS112SummaryProtocolParamsQueryTypeMinfo AS112SummaryProtocolParamsQueryType = "MINFO"
const AS112SummaryProtocolParamsQueryTypeMr AS112SummaryProtocolParamsQueryType = "MR"
const AS112SummaryProtocolParamsQueryTypeMX AS112SummaryProtocolParamsQueryType = "MX"
const AS112SummaryProtocolParamsQueryTypeNAPTR AS112SummaryProtocolParamsQueryType = "NAPTR"
const AS112SummaryProtocolParamsQueryTypeNb AS112SummaryProtocolParamsQueryType = "NB"
const AS112SummaryProtocolParamsQueryTypeNbstat AS112SummaryProtocolParamsQueryType = "NBSTAT"
const AS112SummaryProtocolParamsQueryTypeNid AS112SummaryProtocolParamsQueryType = "NID"
const AS112SummaryProtocolParamsQueryTypeNimloc AS112SummaryProtocolParamsQueryType = "NIMLOC"
const AS112SummaryProtocolParamsQueryTypeNinfo AS112SummaryProtocolParamsQueryType = "NINFO"
const AS112SummaryProtocolParamsQueryTypeNS AS112SummaryProtocolParamsQueryType = "NS"
const AS112SummaryProtocolParamsQueryTypeNsap AS112SummaryProtocolParamsQueryType = "NSAP"
const AS112SummaryProtocolParamsQueryTypeNsec AS112SummaryProtocolParamsQueryType = "NSEC"
const AS112SummaryProtocolParamsQueryTypeNsec3 AS112SummaryProtocolParamsQueryType = "NSEC3"
const AS112SummaryProtocolParamsQueryTypeNsec3Param AS112SummaryProtocolParamsQueryType = "NSEC3PARAM"
const AS112SummaryProtocolParamsQueryTypeNull AS112SummaryProtocolParamsQueryType = "NULL"
const AS112SummaryProtocolParamsQueryTypeNxt AS112SummaryProtocolParamsQueryType = "NXT"
const AS112SummaryProtocolParamsQueryTypeOpenpgpkey AS112SummaryProtocolParamsQueryType = "OPENPGPKEY"
const AS112SummaryProtocolParamsQueryTypeOpt AS112SummaryProtocolParamsQueryType = "OPT"
const AS112SummaryProtocolParamsQueryTypePTR AS112SummaryProtocolParamsQueryType = "PTR"
const AS112SummaryProtocolParamsQueryTypePx AS112SummaryProtocolParamsQueryType = "PX"
const AS112SummaryProtocolParamsQueryTypeRkey AS112SummaryProtocolParamsQueryType = "RKEY"
const AS112SummaryProtocolParamsQueryTypeRp AS112SummaryProtocolParamsQueryType = "RP"
const AS112SummaryProtocolParamsQueryTypeRrsig AS112SummaryProtocolParamsQueryType = "RRSIG"
const AS112SummaryProtocolParamsQueryTypeRt AS112SummaryProtocolParamsQueryType = "RT"
const AS112SummaryProtocolParamsQueryTypeSig AS112SummaryProtocolParamsQueryType = "SIG"
const AS112SummaryProtocolParamsQueryTypeSink AS112SummaryProtocolParamsQueryType = "SINK"
const AS112SummaryProtocolParamsQueryTypeSMIMEA AS112SummaryProtocolParamsQueryType = "SMIMEA"
const AS112SummaryProtocolParamsQueryTypeSOA AS112SummaryProtocolParamsQueryType = "SOA"
const AS112SummaryProtocolParamsQueryTypeSPF AS112SummaryProtocolParamsQueryType = "SPF"
const AS112SummaryProtocolParamsQueryTypeSRV AS112SummaryProtocolParamsQueryType = "SRV"
const AS112SummaryProtocolParamsQueryTypeSSHFP AS112SummaryProtocolParamsQueryType = "SSHFP"
const AS112SummaryProtocolParamsQueryTypeSVCB AS112SummaryProtocolParamsQueryType = "SVCB"
const AS112SummaryProtocolParamsQueryTypeTa AS112SummaryProtocolParamsQueryType = "TA"
const AS112SummaryProtocolParamsQueryTypeTalink AS112SummaryProtocolParamsQueryType = "TALINK"
const AS112SummaryProtocolParamsQueryTypeTkey AS112SummaryProtocolParamsQueryType = "TKEY"
const AS112SummaryProtocolParamsQueryTypeTLSA AS112SummaryProtocolParamsQueryType = "TLSA"
const AS112SummaryProtocolParamsQueryTypeTSIG AS112SummaryProtocolParamsQueryType = "TSIG"
const AS112SummaryProtocolParamsQueryTypeTXT AS112SummaryProtocolParamsQueryType = "TXT"
const AS112SummaryProtocolParamsQueryTypeUinfo AS112SummaryProtocolParamsQueryType = "UINFO"
const AS112SummaryProtocolParamsQueryTypeUID AS112SummaryProtocolParamsQueryType = "UID"
const AS112SummaryProtocolParamsQueryTypeUnspec AS112SummaryProtocolParamsQueryType = "UNSPEC"
const AS112SummaryProtocolParamsQueryTypeURI AS112SummaryProtocolParamsQueryType = "URI"
const AS112SummaryProtocolParamsQueryTypeWks AS112SummaryProtocolParamsQueryType = "WKS"
const AS112SummaryProtocolParamsQueryTypeX25 AS112SummaryProtocolParamsQueryType = "X25"
const AS112SummaryProtocolParamsQueryTypeZonemd AS112SummaryProtocolParamsQueryType = "ZONEMD"
ResponseCode param.Field[[]AS112SummaryProtocolParamsResponseCode]Optional

Filters results by DNS response code.

const AS112SummaryProtocolParamsResponseCodeNoerror AS112SummaryProtocolParamsResponseCode = "NOERROR"
const AS112SummaryProtocolParamsResponseCodeFormerr AS112SummaryProtocolParamsResponseCode = "FORMERR"
const AS112SummaryProtocolParamsResponseCodeServfail AS112SummaryProtocolParamsResponseCode = "SERVFAIL"
const AS112SummaryProtocolParamsResponseCodeNxdomain AS112SummaryProtocolParamsResponseCode = "NXDOMAIN"
const AS112SummaryProtocolParamsResponseCodeNotimp AS112SummaryProtocolParamsResponseCode = "NOTIMP"
const AS112SummaryProtocolParamsResponseCodeRefused AS112SummaryProtocolParamsResponseCode = "REFUSED"
const AS112SummaryProtocolParamsResponseCodeYxdomain AS112SummaryProtocolParamsResponseCode = "YXDOMAIN"
const AS112SummaryProtocolParamsResponseCodeYxrrset AS112SummaryProtocolParamsResponseCode = "YXRRSET"
const AS112SummaryProtocolParamsResponseCodeNxrrset AS112SummaryProtocolParamsResponseCode = "NXRRSET"
const AS112SummaryProtocolParamsResponseCodeNotauth AS112SummaryProtocolParamsResponseCode = "NOTAUTH"
const AS112SummaryProtocolParamsResponseCodeNotzone AS112SummaryProtocolParamsResponseCode = "NOTZONE"
const AS112SummaryProtocolParamsResponseCodeBadsig AS112SummaryProtocolParamsResponseCode = "BADSIG"
const AS112SummaryProtocolParamsResponseCodeBadkey AS112SummaryProtocolParamsResponseCode = "BADKEY"
const AS112SummaryProtocolParamsResponseCodeBadtime AS112SummaryProtocolParamsResponseCode = "BADTIME"
const AS112SummaryProtocolParamsResponseCodeBadmode AS112SummaryProtocolParamsResponseCode = "BADMODE"
const AS112SummaryProtocolParamsResponseCodeBadname AS112SummaryProtocolParamsResponseCode = "BADNAME"
const AS112SummaryProtocolParamsResponseCodeBadalg AS112SummaryProtocolParamsResponseCode = "BADALG"
const AS112SummaryProtocolParamsResponseCodeBadtrunc AS112SummaryProtocolParamsResponseCode = "BADTRUNC"
const AS112SummaryProtocolParamsResponseCodeBadcookie AS112SummaryProtocolParamsResponseCode = "BADCOOKIE"
ReturnsExpand Collapse
type AS112SummaryProtocolResponse struct{…}
Meta AS112SummaryProtocolResponseMeta

Metadata for the results.

ConfidenceInfo AS112SummaryProtocolResponseMetaConfidenceInfo
Annotations []AS112SummaryProtocolResponseMetaConfidenceInfoAnnotation
DataSource AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource

Data source for annotations.

One of the following:
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceAll AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "ALL"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceAIBots AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "AI_BOTS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceAIGateway AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "AI_GATEWAY"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceBGP AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "BGP"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceBots AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "BOTS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceConnectionAnomaly AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "CONNECTION_ANOMALY"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceCT AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "CT"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceDNS AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "DNS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceDNSMagnitude AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "DNS_MAGNITUDE"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceDNSAS112 AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "DNS_AS112"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceDos AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "DOS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceEmailRouting AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL_ROUTING"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceEmailSecurity AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL_SECURITY"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceFw AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "FW"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceFwPg AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "FW_PG"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceHTTP AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceHTTPControl AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_CONTROL"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceHTTPCrawlerReferer AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_CRAWLER_REFERER"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceHTTPOrigins AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_ORIGINS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceIQI AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "IQI"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceLeakedCredentials AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "LEAKED_CREDENTIALS"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceNet AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "NET"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceRobotsTXT AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "ROBOTS_TXT"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceSpeed AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "SPEED"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSourceWorkersAI AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsDataSource = "WORKERS_AI"
Description string
EndDate Time
formatdate-time
EventType AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType

Event type for annotations.

One of the following:
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypeEvent AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "EVENT"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypeGeneral AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "GENERAL"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypeOutage AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "OUTAGE"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypePartialProjection AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "PARTIAL_PROJECTION"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypePipeline AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "PIPELINE"
const AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventTypeTrafficAnomaly AS112SummaryProtocolResponseMetaConfidenceInfoAnnotationsEventType = "TRAFFIC_ANOMALY"
IsInstantaneous bool

Whether event is a single point in time or a time range.

LinkedURL string
formaturi
StartDate Time
formatdate-time
Tags []stringOptional
Level int64

Provides an indication of how much confidence Cloudflare has in the data.

DateRange []AS112SummaryProtocolResponseMetaDateRange
EndTime Time

Adjusted end of date range.

formatdate-time
StartTime Time

Adjusted start of date range.

formatdate-time
LastUpdated Time

Timestamp of the last dataset update.

formatdate-time
Normalization AS112SummaryProtocolResponseMetaNormalization

Normalization method applied to the results. Refer to Normalization methods.

One of the following:
const AS112SummaryProtocolResponseMetaNormalizationPercentage AS112SummaryProtocolResponseMetaNormalization = "PERCENTAGE"
const AS112SummaryProtocolResponseMetaNormalizationMin0Max AS112SummaryProtocolResponseMetaNormalization = "MIN0_MAX"
const AS112SummaryProtocolResponseMetaNormalizationMinMax AS112SummaryProtocolResponseMetaNormalization = "MIN_MAX"
const AS112SummaryProtocolResponseMetaNormalizationRawValues AS112SummaryProtocolResponseMetaNormalization = "RAW_VALUES"
const AS112SummaryProtocolResponseMetaNormalizationPercentageChange AS112SummaryProtocolResponseMetaNormalization = "PERCENTAGE_CHANGE"
const AS112SummaryProtocolResponseMetaNormalizationRollingAverage AS112SummaryProtocolResponseMetaNormalization = "ROLLING_AVERAGE"
const AS112SummaryProtocolResponseMetaNormalizationOverlappedPercentage AS112SummaryProtocolResponseMetaNormalization = "OVERLAPPED_PERCENTAGE"
const AS112SummaryProtocolResponseMetaNormalizationRatio AS112SummaryProtocolResponseMetaNormalization = "RATIO"
Units []AS112SummaryProtocolResponseMetaUnit

Measurement units for the results.

Name string
Value string
Summary0 AS112SummaryProtocolResponseSummary0
HTTPS string

A numeric string.

TCP string

A numeric string.

TLS string

A numeric string.

Udp string

A numeric string.

Get AS112 DNS queries by DNS protocol summary

package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/option"
  "github.com/cloudflare/cloudflare-go/radar"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  response, err := client.Radar.AS112.Summary.Protocol(context.TODO(), radar.AS112SummaryProtocolParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.Meta)
}
{
  "result": {
    "meta": {
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "EVENT",
            "isInstantaneous": true,
            "linkedUrl": "https://example.com",
            "startDate": "2019-12-27T18:11:19.117Z",
            "tags": [
              "BOT_CLASS"
            ]
          }
        ],
        "level": 0
      },
      "dateRange": [
        {
          "endTime": "2022-09-17T10:22:57.555Z",
          "startTime": "2022-09-16T10:22:57.555Z"
        }
      ],
      "lastUpdated": "2019-12-27T18:11:19.117Z",
      "normalization": "PERCENTAGE",
      "units": [
        {
          "name": "*",
          "value": "requests"
        }
      ]
    },
    "summary_0": {
      "HTTPS": "10",
      "TCP": "10",
      "TLS": "10",
      "UDP": "10"
    }
  },
  "success": true
}
Returns Examples
{
  "result": {
    "meta": {
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "EVENT",
            "isInstantaneous": true,
            "linkedUrl": "https://example.com",
            "startDate": "2019-12-27T18:11:19.117Z",
            "tags": [
              "BOT_CLASS"
            ]
          }
        ],
        "level": 0
      },
      "dateRange": [
        {
          "endTime": "2022-09-17T10:22:57.555Z",
          "startTime": "2022-09-16T10:22:57.555Z"
        }
      ],
      "lastUpdated": "2019-12-27T18:11:19.117Z",
      "normalization": "PERCENTAGE",
      "units": [
        {
          "name": "*",
          "value": "requests"
        }
      ]
    },
    "summary_0": {
      "HTTPS": "10",
      "TCP": "10",
      "TLS": "10",
      "UDP": "10"
    }
  },
  "success": true
}