Correct analyze API call