allow pagination on records via API