Controlling cluster health via API