Get Environment Pair Publish Config Job Status

Get Environment Pair Publish Config Job Status
Get environment pair publish job status and per-action results

Retrieve the status and per-action results of an asynchronous publish job for an environment pair.

Poll this endpoint after calling POST /monitoring/environment-pairs/{pair-id}/publish-config until status is COMPLETED or FAILED. The job_id comes from the id field in the POST /monitoring/environment-pairs/{pair-id}/publish-config 202 response.

Each entry in results maps back to the corresponding action in the original request via action_index (zero-based position in publish_actions). Check action_status and error_details on any FAILED entry to understand what went wrong.

Typical job completion time is a few seconds; use exponential backoff when polling.

Request
URI
GET
https://{api_host}/intelligence/monitoring/environment-pairs/{pair-id}/publish-config/{job-id}
COPY
Path Parameters
string
pair-id
Required  

Environment pair identifier (underscore-separated concatenation of source and destination environment UUIDs).

pair-id example
6c0a5b3c-6b9f-4d1e-afaf-ed3fb42bd57e_8ad292bc-e09b-49de-b011-03d9beab1a2a
string
job-id
Required  

Unique identifier of the publish job (from the POST /monitoring/environment-pairs/{pair-id}/publish-config 202 response)

job-id example
6012d743-ee88-4f05-9f09-1db8abe47678

Authentication
This operation uses the following authentication methods.
Responses
200

OK. Successfully retrieved publish job status.

Returns EnvPublishConfigJobStatus of type(s) application/json
{
    "job_id": "6012d743-ee88-4f05-9f09-1db8abe47678",
    "pair_id": "6c0a5b3c-6b9f-4d1e-afaf-ed3fb42bd57e_8ad292bc-e09b-49de-b011-03d9beab1a2a",
    "site_id": "5cf83f93-f9dd-4898-a345-44513572c557",
    "status": "COMPLETED",
    "_create_time": 1781893915174,
    "_last_modified_time": 1781893919296,
    "_create_user": "admin",
    "results": [
        {
            "action_index": 0,
            "action_type": "POLICY_WITH_PROTECTION_RULE_CREATE",
            "action_status": "COMPLETED"
        }
    ]
}
string
job_id
Required  

Unique identifier of this publish job.

string
pair_id
Required  

The environment pair identifier associated with this job.

string
site_id
Required  

The site identifier from the original publish request.

string
status
Required  

Status of an asynchronous publish operation.

Status Description
PENDING Queued for processing.
IN_PROGRESS Actively processing.
COMPLETED Successfully finished.
FAILED Error occurred - check error_details for the reason.
Enumeration: PENDING, IN_PROGRESS, COMPLETED, FAILED
integer As int64 As int64
_create_time
Required  

Timestamp in milliseconds since epoch.

integer As int64 As int64
_last_modified_time
Required  

Timestamp in milliseconds since epoch.

string
_create_user
Optional

Username of the user who initiated this publish job.

array of object
results
Optional

Per-action results for this publish job.


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.


404

Not Found. The specified job-id does not exist for this environment pair.

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.


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 -H 'Authorization: <value>' https://{api_host}/intelligence/monitoring/environment-pairs/{pair-id}/publish-config/{job-id}