added get last itens usage to the api