In some web applications, especially SPAs, and AJAX, API is used to perform action, and the job of redirecting the user to the next page is performed by the frontend. In such cases from the end user’s perspective this is an “action” and should be documented as an Action.