bee api create a new api from database