DDoS Mitigation
Query Traffic Capture
post
/ddos-mitigation/traffic-captureQuery captured traffic logs for one of your protected IPs.
The destination IP or subnet must belong to your organization. Only the traffic from the periods in which your organization held it with Premium protection is returned. Returns packet-level data for DDoS analysis.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Request body
Filters for traffic capture query.
application/jsonRequired
start_time*string
Format
date-timeend_time*string
Format
date-timedestination_ip*string
IP or subnet to query (must belong to your organization)
include_src_ips?array<string>
Range
items ≤ 10exclude_src_ips?array<string>
Range
items ≤ 10include_src_ports?array<integer>
exclude_src_ports?array<integer>
include_dst_ports?array<integer>
exclude_dst_ports?array<integer>
min_src_port?integer | null
Range
1 ≤ value ≤ 65535max_src_port?integer | null
Range
1 ≤ value ≤ 65535min_dst_port?integer | null
Range
1 ≤ value ≤ 65535max_dst_port?integer | null
Range
1 ≤ value ≤ 65535include_protocols?array<string>
exclude_protocols?array<string>
include_actions?array<string>
exclude_actions?array<string>
include_tcp_flags?array<string>
exclude_tcp_flags?array<string>
min_packet_len?integer | null
Range
0 ≤ valuemax_packet_len?integer | null
Range
0 ≤ valuemin_ttl?integer | null
Range
0 ≤ value ≤ 255max_ttl?integer | null
Range
0 ≤ value ≤ 255has_payload?boolean | null
Filter packets with/without payload
limit?integer
Range
1 ≤ value ≤ 100000Default20000Responses
Successful Response
application/json
start_time*string
end_time*string
total_logs*integer
logs*array<TrafficLog>
Properties (19)
timestamp*string
node?string | null
src_ip*string
dst_ip*string
src_port*integer
dst_port*integer
protocol*string
action*string
mitigation_name?string | null
is_drop*boolean
packet_len*integer
ttl*integer
sample_rate?integer | null
tcp_flags?string | null
icmp_type?integer | null
icmp_code?integer | null
src_country?string | null
payload_len?integer | null
payload?string | null