Use the api instead of the db directly