ThousandEyes interview question

How to gather information from the API.