Get Environment Pairs
Returns a paginated list of monitored environment pairs, each representing directional traffic between a source and destination environment. Includes per-pair flow stats and the current protection status.
Use the pair_id from results as the {pair-id} path parameter for
POST /monitoring/environment-pairs/{pair-id}/publish-config and
GET /monitoring/environment-pairs/{pair-id}/publish-config/{job-id}.
Use the source_environment.id and destination_environment.id as inputs to
POST /monitoring/environments/pair-details to drill into flow trend details for a specific pair.
Filter tips:
protection_statuses: [ENVIRONMENT_UNPROTECTED]- find pairs with no dedicated security policysrc_env_ids/dst_env_ids- focus on a specific environment's outbound or inbound pairsenv_ids- include any pair where the environment appears as either source or destination
If time_selection is omitted, defaults to the last 1 hour.
Pagination, time range, and optional filters for environment pairs
{
"page_size": 50,
"offset": 0,
"time_selection": {
"start_time": 1781806411584
}
}
OK. Successfully retrieved environment pairs.
{
"result_count": 2,
"number_of_results": 2,
"total_result_count": 2,
"total_pages": 1,
"results": [
{
"pair_id": "6c0a5b3c-6b9f-4d1e-afaf-ed3fb42bd57e_8ad292bc-e09b-49de-b011-03d9beab1a2a",
"source_environment": {
"id": "6c0a5b3c-6b9f-4d1e-afaf-ed3fb42bd57e",
"display_name": "US_West_debug"
},
"destination_environment": {
"id": "8ad292bc-e09b-49de-b011-03d9beab1a2a",
"display_name": "LTN_West_debug"
},
"stats": {
"category_default_rule_unique_flow_count": 0,
"protection_rule_unique_flow_count": 0,
"total_unique_flow_count": 0
},
"protection_status": "ENVIRONMENT_UNPROTECTED",
"related_policies": [
{
"dfw_policy_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy",
"default_rule_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy/rules/ssp_env_default_rule",
"rule_action": "JUMP_TO_APPLICATION",
"site_id": "5cf83f93-f9dd-4898-a345-44513572c557",
"is_category_global": true,
"is_disabled": false,
"is_pending_sync_from_nsx": 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.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/monitoring/environments/pair-summary