Skip to content
Start here

Get HTTP requests by post-quantum support summary

client.Radar.HTTP.Summary.PostQuantum(ctx, query) (*HTTPSummaryPostQuantumResponse, error)
GET/radar/http/summary/post_quantum

Retrieves the distribution of HTTP requests by post-quantum support.

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 HTTPSummaryPostQuantumParams
ASN param.Field[[]string]Optional

Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with - to exclude ASNs from results. For example, -174, 3356 excludes results from AS174, but includes results from AS3356.

BotClass param.Field[[]HTTPSummaryPostQuantumParamsBotClass]Optional

Filters results by bot class. Refer to Bot classes.

const HTTPSummaryPostQuantumParamsBotClassLikelyAutomated HTTPSummaryPostQuantumParamsBotClass = "LIKELY_AUTOMATED"
const HTTPSummaryPostQuantumParamsBotClassLikelyHuman HTTPSummaryPostQuantumParamsBotClass = "LIKELY_HUMAN"
BrowserFamily param.Field[[]HTTPSummaryPostQuantumParamsBrowserFamily]Optional

Filters results by browser family.

const HTTPSummaryPostQuantumParamsBrowserFamilyChrome HTTPSummaryPostQuantumParamsBrowserFamily = "CHROME"
const HTTPSummaryPostQuantumParamsBrowserFamilyEdge HTTPSummaryPostQuantumParamsBrowserFamily = "EDGE"
const HTTPSummaryPostQuantumParamsBrowserFamilyFirefox HTTPSummaryPostQuantumParamsBrowserFamily = "FIREFOX"
const HTTPSummaryPostQuantumParamsBrowserFamilySafari HTTPSummaryPostQuantumParamsBrowserFamily = "SAFARI"
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).

DateRange param.Field[[]string]Optional

Filters results by date range. For example, use 7d and 7dcontrol to compare this week with the previous week. Use this parameter or set specific start and end dates (dateStart and dateEnd parameters).

DateStart param.Field[[]Time]Optional

Start of the date range.

DeviceType param.Field[[]HTTPSummaryPostQuantumParamsDeviceType]Optional

Filters results by device type.

const HTTPSummaryPostQuantumParamsDeviceTypeDesktop HTTPSummaryPostQuantumParamsDeviceType = "DESKTOP"
const HTTPSummaryPostQuantumParamsDeviceTypeMobile HTTPSummaryPostQuantumParamsDeviceType = "MOBILE"
const HTTPSummaryPostQuantumParamsDeviceTypeOther HTTPSummaryPostQuantumParamsDeviceType = "OTHER"
Format param.Field[HTTPSummaryPostQuantumParamsFormat]Optional

Format in which results will be returned.

const HTTPSummaryPostQuantumParamsFormatJson HTTPSummaryPostQuantumParamsFormat = "JSON"
const HTTPSummaryPostQuantumParamsFormatCsv HTTPSummaryPostQuantumParamsFormat = "CSV"
GeoID param.Field[[]string]Optional

Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with - to exclude geoIds from results. For example, -2267056,360689 excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).

HTTPProtocol param.Field[[]HTTPSummaryPostQuantumParamsHTTPProtocol]Optional

Filters results by HTTP protocol (HTTP vs. HTTPS).

const HTTPSummaryPostQuantumParamsHTTPProtocolHTTP HTTPSummaryPostQuantumParamsHTTPProtocol = "HTTP"
const HTTPSummaryPostQuantumParamsHTTPProtocolHTTPS HTTPSummaryPostQuantumParamsHTTPProtocol = "HTTPS"
HTTPVersion param.Field[[]HTTPSummaryPostQuantumParamsHTTPVersion]Optional

Filters results by HTTP version.

const HTTPSummaryPostQuantumParamsHTTPVersionHttPv1 HTTPSummaryPostQuantumParamsHTTPVersion = "HTTPv1"
const HTTPSummaryPostQuantumParamsHTTPVersionHttPv2 HTTPSummaryPostQuantumParamsHTTPVersion = "HTTPv2"
const HTTPSummaryPostQuantumParamsHTTPVersionHttPv3 HTTPSummaryPostQuantumParamsHTTPVersion = "HTTPv3"
IPVersion param.Field[[]HTTPSummaryPostQuantumParamsIPVersion]Optional

Filters results by IP version (Ipv4 vs. IPv6).

const HTTPSummaryPostQuantumParamsIPVersionIPv4 HTTPSummaryPostQuantumParamsIPVersion = "IPv4"
const HTTPSummaryPostQuantumParamsIPVersionIPv6 HTTPSummaryPostQuantumParamsIPVersion = "IPv6"
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.

OS param.Field[[]HTTPSummaryPostQuantumParamsOS]Optional

Filters results by operating system.

const HTTPSummaryPostQuantumParamsOSWindows HTTPSummaryPostQuantumParamsOS = "WINDOWS"
const HTTPSummaryPostQuantumParamsOSMacosx HTTPSummaryPostQuantumParamsOS = "MACOSX"
const HTTPSummaryPostQuantumParamsOSIos HTTPSummaryPostQuantumParamsOS = "IOS"
const HTTPSummaryPostQuantumParamsOSAndroid HTTPSummaryPostQuantumParamsOS = "ANDROID"
const HTTPSummaryPostQuantumParamsOSChromeos HTTPSummaryPostQuantumParamsOS = "CHROMEOS"
const HTTPSummaryPostQuantumParamsOSLinux HTTPSummaryPostQuantumParamsOS = "LINUX"
const HTTPSummaryPostQuantumParamsOSSmartTv HTTPSummaryPostQuantumParamsOS = "SMART_TV"
TLSVersion param.Field[[]HTTPSummaryPostQuantumParamsTLSVersion]Optional

Filters results by TLS version.

const HTTPSummaryPostQuantumParamsTLSVersionTlSv1_0 HTTPSummaryPostQuantumParamsTLSVersion = "TLSv1_0"
const HTTPSummaryPostQuantumParamsTLSVersionTlSv1_1 HTTPSummaryPostQuantumParamsTLSVersion = "TLSv1_1"
const HTTPSummaryPostQuantumParamsTLSVersionTlSv1_2 HTTPSummaryPostQuantumParamsTLSVersion = "TLSv1_2"
const HTTPSummaryPostQuantumParamsTLSVersionTlSv1_3 HTTPSummaryPostQuantumParamsTLSVersion = "TLSv1_3"
const HTTPSummaryPostQuantumParamsTLSVersionTlSvQuic HTTPSummaryPostQuantumParamsTLSVersion = "TLSvQUIC"
ReturnsExpand Collapse
type HTTPSummaryPostQuantumResponse struct{…}
Meta HTTPSummaryPostQuantumResponseMeta

Metadata for the results.

ConfidenceInfo HTTPSummaryPostQuantumResponseMetaConfidenceInfo
Annotations []HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotation
DataSource HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource

Data source for annotations.

One of the following:
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceAll HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "ALL"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceAIBots HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "AI_BOTS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceAIGateway HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "AI_GATEWAY"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceBGP HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "BGP"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceBots HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "BOTS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceConnectionAnomaly HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "CONNECTION_ANOMALY"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceCT HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "CT"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceDNS HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "DNS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceDNSMagnitude HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "DNS_MAGNITUDE"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceDNSAS112 HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "DNS_AS112"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceDos HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "DOS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceEmailRouting HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL_ROUTING"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceEmailSecurity HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL_SECURITY"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceFw HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "FW"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceFwPg HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "FW_PG"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceHTTP HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceHTTPControl HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_CONTROL"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceHTTPCrawlerReferer HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_CRAWLER_REFERER"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceHTTPOrigins HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP_ORIGINS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceIQI HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "IQI"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceLeakedCredentials HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "LEAKED_CREDENTIALS"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceNet HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "NET"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceRobotsTXT HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "ROBOTS_TXT"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceSpeed HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "SPEED"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSourceWorkersAI HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsDataSource = "WORKERS_AI"
Description string
EndDate Time
formatdate-time
EventType HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType

Event type for annotations.

One of the following:
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypeEvent HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "EVENT"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypeGeneral HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "GENERAL"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypeOutage HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "OUTAGE"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypePartialProjection HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "PARTIAL_PROJECTION"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypePipeline HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "PIPELINE"
const HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventTypeTrafficAnomaly HTTPSummaryPostQuantumResponseMetaConfidenceInfoAnnotationsEventType = "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 []HTTPSummaryPostQuantumResponseMetaDateRange
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 HTTPSummaryPostQuantumResponseMetaNormalization

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

One of the following:
const HTTPSummaryPostQuantumResponseMetaNormalizationPercentage HTTPSummaryPostQuantumResponseMetaNormalization = "PERCENTAGE"
const HTTPSummaryPostQuantumResponseMetaNormalizationMin0Max HTTPSummaryPostQuantumResponseMetaNormalization = "MIN0_MAX"
const HTTPSummaryPostQuantumResponseMetaNormalizationMinMax HTTPSummaryPostQuantumResponseMetaNormalization = "MIN_MAX"
const HTTPSummaryPostQuantumResponseMetaNormalizationRawValues HTTPSummaryPostQuantumResponseMetaNormalization = "RAW_VALUES"
const HTTPSummaryPostQuantumResponseMetaNormalizationPercentageChange HTTPSummaryPostQuantumResponseMetaNormalization = "PERCENTAGE_CHANGE"
const HTTPSummaryPostQuantumResponseMetaNormalizationRollingAverage HTTPSummaryPostQuantumResponseMetaNormalization = "ROLLING_AVERAGE"
const HTTPSummaryPostQuantumResponseMetaNormalizationOverlappedPercentage HTTPSummaryPostQuantumResponseMetaNormalization = "OVERLAPPED_PERCENTAGE"
const HTTPSummaryPostQuantumResponseMetaNormalizationRatio HTTPSummaryPostQuantumResponseMetaNormalization = "RATIO"
Units []HTTPSummaryPostQuantumResponseMetaUnit

Measurement units for the results.

Name string
Value string
Summary0 HTTPSummaryPostQuantumResponseSummary0
NotSupported string

A numeric string.

Supported string

A numeric string.

Get HTTP requests by post-quantum support summary

package main

import (
  "context"
  "fmt"

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

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  response, err := client.Radar.HTTP.Summary.PostQuantum(context.TODO(), radar.HTTPSummaryPostQuantumParams{

  })
  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": {
      "NOT_SUPPORTED": "10",
      "SUPPORTED": "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": {
      "NOT_SUPPORTED": "10",
      "SUPPORTED": "10"
    }
  },
  "success": true
}