Abstract Optical microcavities combined with different materials have inspired many kinds of functional photonic devices, such as lasers, me
Abstract Optical microcavities combined with different materials have inspired many kinds of functional photonic devices, such as lasers, memories, and sensors. Among them, optofluidic microbubble resonators with intrinsic micro-channels and high-quality factors (high-Q) have been considered intriguing platforms for the combination with liquid materials, such as the hydrogel and liquid crystal. Here, we demonstrate a water-infiltrated hybrid optofluidic microcavity for the precise multidimensional measurement of the external laser field. The laser power can be precisely measured based on the photo-thermal conversion, while the wavelength-resolved measurement is realized with the intrinsic absorption spectrum of water. Empowered by machine learning, the laser power and wavelength are precisely decoupled with almost all predictions falling within the 99% prediction bands. The correlation coefficient R 2 of the laser power and wavelength are as high as 0.999 85 and 0.999 54, respectively. This work provides a new platform for high-precision multidimensional measurement of the laser field, which can be further expanded to arbitrary band laser measurement by combining different materials.