Returns the node's active network flow table, optionally filtered by protocol, source/destination IP and port, container, or virtual network. Setting action to delete terminates matching flows instead of returning them.
Requires nodes::service:flows or nodes::remote-execute permission.
Security
JWTAuthorizer
read— return matching flowsdelete— terminate matching flows
Default:"read"
Enum:"read""delete"
- Mock serverhttps://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/flows
- https://api.trustgrid.iohttps://api.trustgrid.io/node/{nodeID}/trigger/flows
curl -i -X POST \
'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/flows?wait=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"action": "read",
"protocol": "icmp",
"source": "10.0.0.0/24",
"sourcePort": 0,
"dest": "192.168.1.5",
"destPort": 0,
"containerId": "string",
"networkId": 0
}'Response
{ "result": { "icmp": [ … ], "tcp": [ … ], "udp": [ … ] } }