Get Flows Information (v3.8)
POST/v3.8/api/tenants/:tenant_id/monitor/flows
List all the flows information.
Request
Path Parameters
ID of the tenant.
- application/json
Body
Filter for flows
Possible values: [summary
, tcp-flags
, traffic
, all
]
The values of the debug levels.
The end time to get the flows information.
filter FlowsFilter
Filters according to the specifications.
Filter by app.
Filter by element.
flow FlowTupple
Filter by flows information.
Destination Ip
Destination Port
Protocol
Source Ip
Source Port
Possible values: [local
, wan
, all
]
Filter by flows type.
Filter by path.
Possible values: [public_direct
, public_vpn
, private_direct
, private_vpn
, unknown
, servicelink
]
Filter by path.
Filter by security policy destination zone.
Filter by security policy rule.
Possible values: [allow
, deny
, reject
]
Filter by policy rule action.
Filter by security policy source zone.
Filter by site.
Filter by waninterface.
The max data points.
The description of the flow. Maz size = 128.
The start time to get the flow information.
Responses
- 200
- 400
- 500
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Dest Page
flows Flows
Flows
The values of the debug levels.
The end time to get the flows information.
items FlowSummary[]
The flow summary information.
App Id
Bytes C2s
Bytes S2c
Destination Ip
Destination Port
Fc App Id
Flow Action
Flow Direction
Flow End Time Ms
Flow Start Time Ms
Is Local Traffic
Is V6
Lan To Wan
Network Policy Id
Network Policy Set Id
Packets C2s
Packets S2c
Path Id
Path Id W2w Egress
Path Type
Path Type W2w Egress
Policy Id
Priority Policy Id
Priority Policy Set Id
Protocol
Sec Policy Actions
Service Endpoint Id
Source Ip
Source Port
Unknown Domain
User Name
Vrf Id
The start time to get the flow information.
Page Size
{
"dest_page": 0,
"flows": {
"debug_level": "string",
"end_time": "string",
"items": [
{
"app_id": "string",
"bytes_c2s": 0,
"bytes_s2c": 0,
"destination_ip": "string",
"destination_port": 0,
"fc_app_id": "string",
"flow_action": "string",
"flow_direction": "string",
"flow_end_time_ms": 0,
"flow_start_time_ms": 0,
"is_local_traffic": true,
"is_v6": true,
"lan_to_wan": true,
"network_policy_id": "string",
"network_policy_set_id": "string",
"packets_c2s": 0,
"packets_s2c": 0,
"path_id": "string",
"path_id_w2w_egress": "string",
"path_type": "string",
"path_type_w2w_egress": "string",
"policy_id": "string",
"priority_policy_id": "string",
"priority_policy_set_id": "string",
"protocol": 0,
"sec_policy_actions": [
"string"
],
"service_endpoint_id": "string",
"source_ip": "string",
"source_port": 0,
"unknown_domain": "string",
"user_name": "string",
"vrf_id": "string"
}
],
"start_time": "string"
},
"page_size": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "EMPTY_REQ_BODY"
},
{
"code": "SCHEMA_MISMATCH"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "EMPTY_FILTER"
},
{
"code": "PATH_AND_PATH_TYPE_NOT_SUPPORTED"
},
{
"code": "SITE_WITH_PATH_MISSING"
},
{
"code": "SITE_WITH_WANINTERFACE_MISSING"
},
{
"code": "SITE_WITH_ELEMENT_MISSING"
},
{
"code": "SITE_WITH_FLOW_TUPLE_MISSING"
},
{
"code": "INVALID_IP"
},
{
"code": "INVALID_FLOW_TYPE"
}
]
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}