---
title: Get network traffic summary
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Radar](https://developers.cloudflare.com/api/go/resources/radar)

[NetFlows](https://developers.cloudflare.com/api/go/resources/radar/subresources/netflows)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Get network traffic summary

Deprecated: Use \[Get Network Traffic Distribution By Dimension](https://developers.cloudflare.com/api/resources/radar/subresources/netflows/methods/summary\_v2/) instead.

client.Radar.NetFlows.Summary(ctx, query) (\*[NetFlowsSummaryResponse](<https://developers.cloudflare.com/api/go/resources/radar#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)>), error)

GET/radar/netflows/summary

Retrieves the distribution of network traffic (NetFlows) by HTTP vs other protocols.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



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

**Example:**<code>X-Auth-Email: user@example.com</code>

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

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`User Details Write``User Details Read`

##### ParametersExpand Collapse

<details>

<summary>

query NetFlowsSummaryParams

</summary>

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 <code>-</code> to exclude ASNs from results. For example, <code>-174, 3356</code> excludes results from AS174, but includes results from AS3356.

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20asn">Link to this property</a>

Continent param.Field\[\[]string]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20continent">Link to this property</a>

DateEnd param.Field\[\[]Time]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20dateEnd">Link to this property</a>

DateRange param.Field\[\[]string]Optional

Filters results by relative date range ending at the current time, with each value producing a separate series. Use <code>&lt;n&gt;d</code> for days (up to <code>364d</code>) or <code>&lt;n&gt;w</code> for weeks (up to <code>52w</code>). Append <code>control</code> 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. <code>7dcontrol</code> covers days -14 to -7, <code>10dcontrol</code> covers days -24 to -14). For example, pass <code>7d</code> and <code>7dcontrol</code> to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including <code>control</code>) satisfy this automatically. Use this parameter or set specific start and end dates (<code>dateStart</code> and <code>dateEnd</code> parameters).

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20dateRange">Link to this property</a>

DateStart param.Field\[\[]Time]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20dateStart">Link to this property</a>

<details>

<summary>

Format param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/netflows/methods/summary#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">NetFlowsSummaryParamsFormat</a>]Optional

Format in which results will be returned.

</summary>

const NetFlowsSummaryParamsFormatJson <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/netflows/methods/summary#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">NetFlowsSummaryParamsFormat</a> = "JSON"

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const NetFlowsSummaryParamsFormatCsv <a href="https://developers.cloudflare.com/api/go/resources/radar/subresources/netflows/methods/summary#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)">NetFlowsSummaryParamsFormat</a> = "CSV"

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20format">Link to this property</a>

GeoID param.Field\[\[]string]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20geoId">Link to this property</a>

Location param.Field\[\[]string]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20location">Link to this property</a>

Name param.Field\[\[]string]Optional

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

<a href="#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default%20%3E%20(param)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.netflows%20%3E%20(method)%20summary%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type NetFlowsSummaryResponse struct{…}

</summary>

<details>

<summary>

Meta NetFlowsSummaryResponseMeta

Metadata for the results.

</summary>

<details>

<summary>

ConfidenceInfo NetFlowsSummaryResponseMetaConfidenceInfo

</summary>

<details>

<summary>

Annotations \[]NetFlowsSummaryResponseMetaConfidenceInfoAnnotation

</summary>

<details>

<summary>

DataSource NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource

Data source for annotations.

</summary>

One of the following:

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceAll NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "ALL"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%200">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceAIBots NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "AI\_BOTS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%201">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceAIGateway NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "AI\_GATEWAY"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%202">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceBGP NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "BGP"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%203">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceBots NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "BOTS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%204">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceConnectionAnomaly NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "CONNECTION\_ANOMALY"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%205">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceCT NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "CT"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%206">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceDNS NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "DNS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%207">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceDNSMagnitude NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "DNS\_MAGNITUDE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%208">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceDNSAS112 NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "DNS\_AS112"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%209">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceDos NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "DOS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2010">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceEmailRouting NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL\_ROUTING"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2011">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceEmailSecurity NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "EMAIL\_SECURITY"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2012">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceFw NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "FW"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2013">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceFwPg NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "FW\_PG"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2014">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceHTTP NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2015">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceHTTPControl NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP\_CONTROL"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2016">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceHTTPCrawlerReferer NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP\_CRAWLER\_REFERER"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2017">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceHTTPOrigins NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "HTTP\_ORIGINS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2018">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceIQI NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "IQI"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2019">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceLeakedCredentials NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "LEAKED\_CREDENTIALS"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2020">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceNet NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "NET"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2021">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceRobotsTXT NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "ROBOTS\_TXT"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2022">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceSpeed NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "SPEED"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2023">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSourceWorkersAI NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsDataSource = "WORKERS\_AI"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2024">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource">Link to this property</a>

Description string

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

EndDate Time

formatdate-time

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20endDate">Link to this property</a>

<details>

<summary>

EventType NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType

Event type for annotations.

</summary>

One of the following:

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventTypeGeneral NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType = "GENERAL"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%200">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventTypeOutage NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType = "OUTAGE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%201">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventTypePartialProjection NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType = "PARTIAL\_PROJECTION"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%202">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventTypePipeline NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType = "PIPELINE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%203">Link to this property</a>

const NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventTypeTrafficAnomaly NetFlowsSummaryResponseMetaConfidenceInfoAnnotationsEventType = "TRAFFIC\_ANOMALY"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType">Link to this property</a>

IsInstantaneous bool

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

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20isInstantaneous">Link to this property</a>

LinkedURL string

formaturi

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20linkedUrl">Link to this property</a>

StartDate Time

formatdate-time

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20startDate">Link to this property</a>

Tags \[]stringOptional

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20tags">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations">Link to this property</a>

Level int64

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

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20level">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo">Link to this property</a>

<details>

<summary>

DateRange \[]NetFlowsSummaryResponseMetaDateRange

</summary>

EndTime Time

Adjusted end of date range.

formatdate-time

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange%20%3E%20(items)%20%3E%20(property)%20endTime">Link to this property</a>

StartTime Time

Adjusted start of date range.

formatdate-time

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange%20%3E%20(items)%20%3E%20(property)%20startTime">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange">Link to this property</a>

LastUpdated Time

Timestamp of the last dataset update.

formatdate-time

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20lastUpdated">Link to this property</a>

<details>

<summary>

Normalization NetFlowsSummaryResponseMetaNormalization

Normalization method applied to the results. Refer to <a href="https://developers.cloudflare.com/radar/concepts/normalization/">Normalization methods</a>.

</summary>

One of the following:

const NetFlowsSummaryResponseMetaNormalizationPercentage NetFlowsSummaryResponseMetaNormalization = "PERCENTAGE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%200">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationMin0Max NetFlowsSummaryResponseMetaNormalization = "MIN0\_MAX"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%201">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationMinMax NetFlowsSummaryResponseMetaNormalization = "MIN\_MAX"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%202">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationRawValues NetFlowsSummaryResponseMetaNormalization = "RAW\_VALUES"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%203">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationPercentageChange NetFlowsSummaryResponseMetaNormalization = "PERCENTAGE\_CHANGE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%204">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationRollingAverage NetFlowsSummaryResponseMetaNormalization = "ROLLING\_AVERAGE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%205">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationOverlappedPercentage NetFlowsSummaryResponseMetaNormalization = "OVERLAPPED\_PERCENTAGE"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%206">Link to this property</a>

const NetFlowsSummaryResponseMetaNormalizationRatio NetFlowsSummaryResponseMetaNormalization = "RATIO"

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization%20%3E%20(member)%207">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20normalization">Link to this property</a>

<details>

<summary>

Units \[]NetFlowsSummaryResponseMetaUnit

Measurement units for the results.

</summary>

Name string

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20units%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

Value string

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20units%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20units">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

<details>

<summary>

Summary0 NetFlowsSummaryResponseSummary0

</summary>

HTTP string

A numeric string.

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20summary_0%20%3E%20(property)%20HTTP">Link to this property</a>

Other string

A numeric string.

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20summary_0%20%3E%20(property)%20OTHER">Link to this property</a>

</details>

<a href="#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)%20%3E%20(property)%20summary_0">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.netflows%20%3E%20(model)%20NetFlowsSummaryResponse%20%3E%20(schema)>)

### Get network traffic summary

Go

HTTPTypeScriptPythonGoTerraform

```
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.NetFlows.Summary(context.TODO(), radar.NetFlowsSummaryParams{

  })
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response.Meta)
}
```

200 example

```
{
  "result": {
    "meta": {
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "GENERAL",
            "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": {
      "HTTP": "10",
      "OTHER": "10"
    }
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "result": {
    "meta": {
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "GENERAL",
            "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": {
      "HTTP": "10",
      "OTHER": "10"
    }
  },
  "success": true
}
```