Detection, Mitigation & Response

Detect and mitigate DDoS attacks in under 1 second, respond automatically, and keep your users informed.

All features →
Docs
Documentation Quick Start API Reference Agent Setup Integrations 18
Learn
Free Tools 37 Free Certifications State of DDoS 2026 REPORT DDoS Protection Landscape Buyer's Guide PDF Hackathon Sponsorships DDoS Protection Facts
Company
About Us Become a Consultant 30% Partners White Label Managed Protection Contact Us System Status
Open Source
ftagent-lite MIT NetHawk MIT
Legal
Security Trust Center Terms & Privacy
Who Uses Flowtriq

From indie hosts to ISPs, see how teams like yours use Flowtriq to detect and stop DDoS attacks.

All use cases →

Agent API Reference

These endpoints are used by the FTAgent running on your server. They authenticate with two headers:

Authorization: Bearer your-node-api-key X-Node-UUID: your-node-uuid

Base URL: https://flowtriq.com/api/v1/agent

Heartbeat

POST/v1/agent/heartbeat

Sent every 30 seconds to indicate the agent is online. Updates last_seen_at and status.

ParameterTypeDescription
agent_versionstringCurrent agent version
uptimeintegerAgent uptime in seconds
osstringOS identifier (e.g., "Ubuntu 22.04")

Submit Metrics

POST/v1/agent/metrics

Submits PPS/BPS samples. The agent sends one batch per second.

ParameterTypeDescription
pps*integerPackets per second
bps*integerBits per second
tcp_pctfloatTCP percentage (0-100)
udp_pctfloatUDP percentage (0-100)
icmp_pctfloatICMP percentage (0-100)
conn_countintegerActive connections
recorded_atstringISO 8601 timestamp

Report Incident

POST/v1/agent/incident

Opens or updates an incident when the agent detects an attack threshold crossing.

ParameterTypeDescription
attack_family*stringDetected family: udp_flood, syn_flood, http_flood, icmp_flood, dns_flood, tcp_flood, protocol_flood, multi_vector, unknown
severity*stringlow, medium, high, critical
peak_ppsintegerPeak packets/sec observed
peak_bpsintegerPeak bits/sec observed
protocol_breakdownobject{"tcp": 15.2, "udp": 82.1, "icmp": 2.7}
tcp_flag_breakdownobject{"SYN": 1200, "ACK": 400, "RST": 50}
geo_breakdownobject{"US": 4200, "CN": 1800, "RU": 920}
source_ip_countintegerUnique source IPs
top_src_ipsarray[{"ip": "1.2.3.4", "count": 5000}, ...]
top_dst_portsarray[{"port": 80, "count": 12000}, ...]
ioc_matchesarrayMatched IOC patterns
spoofing_detectedbooleanTTL analysis indicates spoofed sources
botnet_detectedbooleanTraffic pattern matches known botnet signatures

Upload PCAP

POST/v1/agent/pcap

Uploads a PCAP capture file for an incident. Multipart form upload, max 100 MB.

ParameterTypeDescription
incident_id*integerAssociated incident ID
file*filePCAP file (multipart upload)

Get Config

GET/v1/agent/config

Returns the node's remote config including IOC patterns, thresholds, and pending commands.

// Response 200 { "node_id": 1, "pps_threshold": 50000, "baseline": { "p99_pps": 12000, "mean_pps": 3400 }, "ioc_patterns": [...], "pending_commands": [ { "id": 5, "command": "iptables -I INPUT -s 1.2.3.4 -j DROP" } ] }