get agents list from API and show it