Get Application Flow Counts
Retrieve the ingress, egress, and intra-application unique flow counts for a specific application over a specified time interval.
ingress_flow_count- unique flows entering the application from outsideegress_flow_count- unique flows leaving the application to outsideintra_flow_count- unique flows between workloads within the same application
The {application-id} comes from the id field in POST /monitoring/applications/results-by-app results.
If time_selection is omitted, defaults to the last 1 hour.
The unique identifier of the application (UUID from POST /monitoring/applications/results-by-app)
398d1f18-cbdf-4960-b881-bb4e160952a8
Time range for the flow count query
{
"time_selection": {
"start_time": 1781806113924
}
}
Time parameters for querying monitoring data. Specifies the start time for the query window, with the end time implicitly set to the current time. The system will examine monitoring metrics from the specified start_time to now.
OK. Successfully retrieved flow counts.
{
"ingress_flow_count": 0,
"egress_flow_count": 0,
"intra_flow_count": 0
}
Number of unique flows entering the application from outside its boundary.
Number of unique flows leaving the application to outside its boundary.
Number of unique flows between workloads within the same application.
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/monitoring/applications/{application-id}/flow-counts