Get Environment Pair Flow Details
Returns a paginated list of unique (deduplicated) flow records between two environment entities. Flows are deduplicated by the 4-tuple of source VM, destination VM, destination port, and protocol -- multiple occurrences collapse into a single row reflecting the most recently observed state.
Notes:
start_time,src_site_id,dst_site_id,src_env_id, anddst_env_idare all required.src_site_idanddst_site_idscope the query to the source and destination sites. For intra-site flows, set both to the same site ID.env_request_typefilters flows by direction type.filtersaccepts up to 300 filter entries.- To export these results as a CSV file, use
POST /visualization/flow-exports/environments/pair-flow-details/export.
Wrapper request for EnvironmentsPairFlowDetails with restricted filter keys
{
"start_time": 1782086925725,
"page_size": 50,
"offset": 0,
"src_env_id": "d108367c-9ae3-4b0b-98c7-61ec7c72be6f",
"dst_env_id": "2cda03cc-4713-44d8-adda-8a0c45b7863c",
"src_site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"dst_site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"env_request_type": "ALL"
}
success
{
"offset": 0,
"number_of_results": 50,
"total_result_count": 6421,
"total_pages": 129,
"time_interval": {
"start_time": 1782086925725,
"end_time": 1782173414608
},
"results": [
{
"source": {
"groups": [
{
"id": "27a4266f-4653-4805-91ab-7c12ed3a3993",
"display_name": "R1_Z1_env9_app209",
"reference_id": "/infra/domains/default/groups/e7f38027-a254-3f9a-9f0f-1471d1a3dedb"
},
{
"id": "c7833504-b5b7-4215-a37a-2850a77c0dbe",
"display_name": "R1_Z1_env9",
"reference_id": "/infra/domains/default/groups/97dc29ad-5517-3f6b-bc0b-4ec3f1948c2b"
}
],
"compute": {
"entity_type": "COMPUTE",
"compute_type": "VM",
"id": "503b7c79-dfbd-1f3d-eb47-b37a94d6fb29",
"reference_id": "503b7c79-dfbd-1f3d-eb47-b37a94d6fb29",
"name": "nano_vm1_clone_7580",
"config_events": [],
"highlight": false
},
"apps": [],
"flow_type": "UN_MICROSEGMENTED",
"rules": [
{
"id": "2"
}
],
"jump_to_rules": []
},
"destination": {
"groups": [
{
"id": "d108367c-9ae3-4b0b-98c7-61ec7c72be6f",
"display_name": "R1_Z1_env32",
"reference_id": "/infra/domains/default/groups/25c93e59-e9c4-3be9-818b-8498548da8c9"
}
],
"compute": {
"entity_type": "COMPUTE",
"compute_type": "VM",
"id": "503bb635-b47e-87e3-0a29-2d9896ad6cad",
"reference_id": "503bb635-b47e-87e3-0a29-2d9896ad6cad",
"name": "nano_vm1_clone_1681",
"config_events": [],
"highlight": false
},
"apps": [],
"configured_services": [
"Service-TCP-20"
],
"protocol": "TCP",
"port": 20,
"flow_type": "UN_MICROSEGMENTED",
"rules": [
{
"id": "2"
}
],
"jump_to_rules": []
},
"flow_info": {
"last_session_start_time": 1782171247,
"last_session_end_time": 1782171324,
"flow_type": "UN_MICROSEGMENTED",
"is_active": false
}
},
{
"source": {
"groups": [
{
"id": "2cda03cc-4713-44d8-adda-8a0c45b7863c",
"display_name": "R1_Z1_env11",
"reference_id": "/infra/domains/default/groups/bb421784-ef8a-344f-b9d2-b72556afa076"
}
],
"compute": {
"entity_type": "COMPUTE",
"compute_type": "VM",
"id": "503b7ac7-9607-93bb-be67-78fd60fe1f58",
"reference_id": "503b7ac7-9607-93bb-be67-78fd60fe1f58",
"name": "nano_vm5_clone_7568",
"config_events": [],
"highlight": false
},
"apps": [],
"flow_type": "ALLOWED",
"rules": [
{
"id": "2"
}
],
"jump_to_rules": [
{
"id": "196673"
}
]
},
"destination": {
"groups": [
{
"id": "d108367c-9ae3-4b0b-98c7-61ec7c72be6f",
"display_name": "R1_Z1_env9",
"reference_id": "/infra/domains/default/groups/97dc29ad-5517-3f6b-bc0b-4ec3f1948c2b"
}
],
"compute": {
"entity_type": "COMPUTE",
"compute_type": "VM",
"id": "503b886b-0640-8a75-a2ef-1a2ed98022cc",
"reference_id": "503b886b-0640-8a75-a2ef-1a2ed98022cc",
"name": "nano_vm7_clone_5856",
"config_events": [],
"highlight": false
},
"apps": [],
"configured_services": [
"SSH"
],
"protocol": "TCP",
"port": 22,
"flow_type": "ALLOWED",
"rules": [
{
"id": "196673"
}
],
"jump_to_rules": []
},
"flow_info": {
"last_session_start_time": 1782171364,
"last_session_end_time": 1782171336,
"flow_type": "ALLOWED",
"is_active": false
}
}
]
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/visualization/flow-analysis/environments/pair-flow-details