API endpoints now use model API + return oldids