Start endpoint to collect function stats