Get Recommendation Result Status
Provides a lightweight way to poll the publication status of a recommendation result.
Notes:
- Use this endpoint to track progress after triggering a publish action.
- Statuses include
READY_TO_PUBLISH,PUBLISH_INITIATED,PUBLISHED, orPUBLISH_FAILED.
The id of the resource
The result id of a recommendation session for each site. For now the result id will be the site id.
The recommendation resource is present. Status may indicate further information.
{
"id": "675e5580-7fe2-48ae-814a-d8a642ed0a0f",
"site_id": "675e5580-7fe2-48ae-814a-d8a642ed0a0f",
"status": "PUBLISHED"
}
Recommendation result ID, currently the result ID is the site id.
The site identifier (local manager ID) where this recommendation result was generated. This corresponds to one of the site_ids specified in the recommendation session.
A human-readable message providing additional details about the current status. May contain error messages, progress information, or other contextual details about the recommendation state.
The status of the recommendation publication process, indicating the current state of publishing the recommendation to NSX Policy Manager.
| Status | Description |
|---|---|
READY_TO_PUBLISH |
Analysis is complete and recommendation is ready to be published. |
NOTHING_TO_PUBLISH |
No infra payload generated. |
PUBLISH_INITIATED |
Publication process has been started. |
PUBLISH_FAILED |
Publication failed. |
PUBLISHED |
Successfully published to NSX Policy Manager. |
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 -H 'Authorization: <value>' https://{api_host}/intelligence/recommendations/{id}/results/{result-id}/status