modify the monitor page to api