When you encounter issues with APIs, you can open a browser window on the AEM page you're interested in. Then, access the Network tab in the developer tools, where all requests are listed. Perform the action you want to investigate (for example, replication) with UI. Once the corresponding call appe...