Last I heard, filled regions (and anything else that uses the sketch editor) cannot contain interior loops when being created from the API. I’d be happy to hear that this has been fixed though.
Try to use polycurves for exterior and interior loops as input for the boundary, both in the same list, i was able to create floors with openings in them that way in the past, maybe it works with regions as well.
Let us know if it works.