Update to network search, added API for workspace

Have not tested API for workspace yet