Create Recommendation Session
Initiates a new recommendation session to analyze network traffic and generate security policies.
Notes:
- The session can be configured for
CLASSIC,APPLICATION, orENVIRONMENTrecommendation types. - Analysis begins automatically upon creation based on the provided context and parameters.
- Returns a
202 Acceptedwith an async operation ID. Use the/recommendations/{id}/statusendpoint to poll for analysis completion.
The recommendation session configuration including the recommendation type, site identifiers, time window for analysis, context inputs (VMs, groups, applications, or environments), and analysis parameters such as segmentation strategies, connectivity preferences, and service filters.
{
"display_name": "Application Recommendation Example",
"description": "Recommendation created on 3/11/26, 2:43 PM",
"site_ids": [
"9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
],
"start_time": 1772664273441,
"monitoring_enabled": true,
"action": "ANALYZE",
"recommendation_type": "APPLICATION",
"context_application": {
"id": "26ecd766-7340-40f9-8606-218acc036687",
"site_ids": [
"9e0865d0-9d89-44c7-8cc0-9f96a9b35721"
]
},
"segmentation_strategies": [],
"connectivity_preference": "NONE",
"connectivity_preference_logging_enabled": false,
"exclude_multicast_flows": true,
"exclude_broadcast_flows": true,
"policy_type": "L4",
"additional_rules": [],
"use_private_ip_range_group": false,
"separate_rules_by_services": false
}
The recommendation session creation request has been accepted and is being processed asynchronously. The response includes an async operation identifier that can be used to track the status of the recommendation session creation.
{
"id": "3f2a2789-8a6b-47d2-b87a-8acfd8bce98e",
"status_url": "https://<ssp_host>/intelligence/recommendations/3f2a2789-8a6b-47d2-b87a-8acfd8bce98e/status"
}
UUID identifier of the response.
The URL to check the status of the operation.
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/recommendations