API to handle pwf model requests