api for vault