Get App Flow Details

Get App Flow Details
Get unique (deduplicated) flow records for an application

Returns a paginated list of unique (deduplicated) flow records for the specified application. Flows are deduplicated by source VM, destination VM, destination port, and protocol -- multiple occurrences within the time window collapse into a single row reflecting the most recently observed state.

Notes:

  • start_time is required. Either site_id or site_ids must also be provided.
  • Set use_latest_apps to true to reflect current application membership; false (default) reflects membership at the time each flow was observed.
  • Use app_request_type to filter flows by request type. Multiple values are OR-combined; omitting the field returns all flows.
  • filters accepts up to 300 filter entries.
  • Obtain app-id from the topology graph returned by POST /visualization/topology/apps-flow-topology, where each node represents an application.
  • To export these results as a CSV file, use POST /visualization/flow-exports/applications/{app-id}/flow-details/export.
  • To see the DFW rules associated with this application, use POST /visualization/security-analysis/applications/{app-id}/related-dfw-rules.
Request
URI
POST
https://{api_host}/intelligence/visualization/flow-analysis/applications/{app-id}/flow-details
COPY
Path Parameters
string
app-id
Required  

The NSX application group ID. Obtain valid IDs from POST /visualization/topology/apps-flow-topology, where each node in the topology graph represents an application and carries its ID.


Request Body

Wrapper request for ApplicationsIdFlowDetails with restricted filter keys

VizApplicationsIdFlowDetailsRequest of type(s) application/json
Required  
This request body class requires all of the following: VizTimeIntervalListSiteRequest , InlineVizApplicationsIdFlowDetailsRequest1
{
    "site_id": "2996d590-1afe-49a1-905b-3f39b8228da7",
    "start_time": 1781808046480,
    "page_size": 50,
    "offset": 0,
    "app_request_type": [],
    "use_latest_apps": true
}
Authentication
This operation uses the following authentication methods.
Responses
200

success

Returns AppFlowDetailListResult of type(s) application/json
This response body class contains all of the following: VizTimeIntervalListResult , InlineAppFlowDetailListResult1
{
    "offset": 0,
    "number_of_results": 1,
    "total_result_count": 114,
    "total_pages": 3,
    "time_interval": {
        "start_time": 1781808046480,
        "end_time": 1781809116367
    },
    "results": [
        {
            "source": {
                "groups": [],
                "compute": {
                    "entity_type": "COMPUTE",
                    "compute_type": "VM",
                    "id": "50327754-bf61-154a-28ef-68ce5218cb1f",
                    "reference_id": "50327754-bf61-154a-28ef-68ce5218cb1f",
                    "name": "inc_1_nesx-node3_vm_0",
                    "config_events": [],
                    "highlight": false
                },
                "apps": [
                    {
                        "entity_type": "OTHER_VMS_AND_IPS",
                        "id": "OTHER_VMS_AND_IPS",
                        "reference_id": "OTHER_VMS_AND_IPS",
                        "name": "Other VMs & IPs",
                        "config_events": [],
                        "highlight": false
                    }
                ],
                "flow_type": "UN_MICROSEGMENTED",
                "rules": [
                    {
                        "id": "2"
                    }
                ],
                "jump_to_rules": [
                    {
                        "id": "2621"
                    }
                ]
            },
            "destination": {
                "groups": [],
                "compute": {
                    "entity_type": "COMPUTE",
                    "compute_type": "VM",
                    "id": "5032d855-abc4-b702-52a3-ea8b6596491a",
                    "reference_id": "5032d855-abc4-b702-52a3-ea8b6596491a",
                    "name": "inc_1_nesx-node5_vm_0",
                    "config_events": [],
                    "highlight": false
                },
                "apps": [
                    {
                        "application_type": "CRITICAL",
                        "entity_type": "APPLICATION",
                        "id": "2c5a49a3-18a0-485d-b4df-7cd8bf23306d",
                        "name": "America_us-east_prod_new1",
                        "config_events": [],
                        "highlight": false,
                        "state": "ACTIVE",
                        "application_workload_type": "REGULAR"
                    }
                ],
                "configured_services": [
                    "Terminal Services (TCP)",
                    "RDP",
                    "SharePoint 2007 V1",
                    "SharePoint 2010 V1",
                    "Win 2003 - RPC, DCOM, EPM, DRSUAPI, NetLogonR, SamR, FRS",
                    "Win - RPC, DCOM, EPM, DRSUAPI, NetLogonR, SamR, FRS - TCP",
                    "VMware-VDM2.x-Ephemeral",
                    "Vmware View/VDM2.x",
                    "Microsoft Active Directory V1"
                ],
                "protocol": "TCP",
                "port": 3389,
                "flow_type": "UN_MICROSEGMENTED",
                "rules": [
                    {
                        "id": "2"
                    }
                ],
                "jump_to_rules": [
                    {
                        "id": "2621"
                    }
                ]
            },
            "flow_info": {
                "last_session_start_time": 1781808475,
                "last_session_end_time": 1781808700,
                "flow_type": "UN_MICROSEGMENTED",
                "is_active": false
            },
            "considered_for_rec": true
        }
    ]
}

400

Bad Request

Returns BadRequest of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


401

Unauthorized

Returns Unauthorized of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


403

Forbidden

Returns Forbidden of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


412

Precondition Failed

Returns PreconditionFailed of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


428

Precondition Required

Returns PreconditionRequired of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


429

Too Many Requests

Returns TooManyRequests of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


default

Error

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/visualization/flow-analysis/applications/{app-id}/flow-details