Is there any way to extract the Revit model warning message by forge API?
The Revit API provides the Document.GetWarnings method for this. You can call this method in the Forge context using Forge Design Automation for Revit, aka DA4R.