Get BGP route leak events
GET/radar/bgp/leaks/events
Retrieves the BGP route leak events.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Get BGP route leak events
curl https://api.cloudflare.com/client/v4/radar/bgp/leaks/events \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"asn_info": [
{
"asn": 0,
"country_code": "country_code",
"org_name": "org_name"
}
],
"events": [
{
"id": 0,
"countries": [
"string"
],
"detected_ts": "detected_ts",
"finished": true,
"leak_asn": 0,
"leak_count": 0,
"leak_seg": [
0
],
"leak_type": 0,
"max_ts": "max_ts",
"min_ts": "min_ts",
"origin_count": 0,
"peer_count": 0,
"prefix_count": 0
}
]
},
"result_info": {
"count": 0,
"page": 0,
"per_page": 0,
"total_count": 0
},
"success": true
}Returns Examples
{
"result": {
"asn_info": [
{
"asn": 0,
"country_code": "country_code",
"org_name": "org_name"
}
],
"events": [
{
"id": 0,
"countries": [
"string"
],
"detected_ts": "detected_ts",
"finished": true,
"leak_asn": 0,
"leak_count": 0,
"leak_seg": [
0
],
"leak_type": 0,
"max_ts": "max_ts",
"min_ts": "min_ts",
"origin_count": 0,
"peer_count": 0,
"prefix_count": 0
}
]
},
"result_info": {
"count": 0,
"page": 0,
"per_page": 0,
"total_count": 0
},
"success": true
}