post
/public_api/v1/scripts/get_script_execution_status
Retrieve the status of a script execution action.
Required license: Cortex XDR Pro per Endpoint or Cortex XDR Pro per GB
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://api-yourfqdn/public_api/v1/scripts/get_script_execution_status" \
-d '{
"request_data" : {
"action_id" : "action_id"
}
}'
Response
{
"reply": {
"general_status": "PENDING",
"endpoints_pending": 1,
"endpoints_canceled": 0,
"endpoints_in_progress": 0,
"endpoints_timeout": 0,
"endpoints_failed": 0,
"endpoints_completed_successfully": 0,
"endpoints_pending_abort": 0,
"endpoints_aborted": 0,
"endpoints_expired": 0
}
}
Request
Body
optional
Example:
{"request_data":{"action_id":""}}
request_data
required
A dictionary containing the API request fields.
action_id
required
String
Identifier of the action, can be found in Cortex XDR console Response > Action Center > Action ID field.
Responses