Create search save and history api.