Add endpoint to get incomplete jobs from DB