Getting list of Matter devices with different attributes

Hi - I have several devices using Matter, and when looking on UI, I see different attributes, like Model, Serial Number, MAC etc… How do I get a list of all the devices in report form shwong Serial Number and MAC?