#
Flow
A flow is a representation of network traffic. When data is sent through your network, Flows tells you when, on which device, how much data was uploaded or downloaded, and more. It is one of Firewalla’s fundamental concepts. A flow is always associated with a device (inlcuding VPN profile, which counts as a device as well) and a remote host.
There's also Blocked Flows, which have very similar structure to Flows but represent traffic that Firewalla has blocked. Since Blocked Flows are intercepted before traveling through your network, they don’t have upload or download information.
#
Get Flows
Gets all flows with given conditions. Flows are always returned in reverse chronological order.
GET https://msp_domain/v2/flows
Header
Query String
Response
200 Success
{
"count": 1,
"results": [
{
"ts": 1647550615.011,
"gid": "00000000-1234-1234-aaaa-000000000000",
"protocol": "tcp",
"direction": "outbound",
"block": false,
"download": 1000,
"upload": 500,
"duration": 0.77,
"category":"shopping",
"count": 1,
"region":"CN",
"device": {
"id": "AA:BB:CC:DD:EE:FF",
"ip": "192.168.210.110",
"name": "My Iphone",
"port": "55664"
},
"network": {
"id": "99285a11-aaaa-bbbb-cccc-510596edaaaa",
"name": "Home Office"
},
"group": {
"id": "2",
"name": "Mobile"
},
"source": {
"id": "AA:BB:CC:DD:EE:FF",
"ip": "192.168.210.110",
"name": "My Iphone"
},
"destination":{
"id": "firewalla.com",
"ip": "23.227.38.32",
"name": "firewalla.com"
}
}
],
"next_cursor": null
}
401 Permission Denied
Examples
- Flow Pagination,
Query String
Pagination