add api to remote checkpoints