Add api for mongo_event