API server for Raft