failover api for batch proxy