Sysdig interview question

How will I test an API ?