add flush endpoint to history-v1 GitOrigin-RevId: b2ca60f7d040459f9c542e4e87147b9eecc9f596
prefer-node-protocol