KSC Open API
Kaspersky Security Center API description
List of task statistics attributes

Parameters describe group task statistics. All are optional:

Parameter nameTypeDescription
"1"paramIntNumber of hosts where the task modification hasn't been distributed yet.
"2"paramIntNumber of hosts where the task is running.
"4"paramIntNumber of hosts where the task finished successfully.
"8"paramIntNumber of hosts where the task finished with a warning.
"16"paramIntNumber of hosts where the task failed.
"32"paramIntNumber of hosts where the task was scheduled to run.
"64"paramIntNumber of hosts where the task was paused.
"KLTSK_NEED_RBT_CNT"paramIntNumber of hosts where the task is requested for the OS reboot.
"GNRL_COMPLETED_PERCENT"paramIntTotal task completion percent.
"KLTSK_VIRT_PRGS"paramBoolBoolean mark for tasks, which means that the virtual pre-execution progress (for tasks that suppose some preliminary executions on the server side before the real task starts on the target hosts). Set to true for execution of remote installation tasks.
"KLTSK_ERR_REASONS_CNT"paramParamsFor remote installation and patch management tasks, additional information on different error reasons statistics. Every enri name is a decimal representation of a failure reason (according to Software installation error classes enum), and the value of the integer type means the count of hosts where the task failed with that reason.