The current Dashboard API does not expose whether a client connected via WPA2 or WPA3 when Transition Mode is enabled. That level of detail is visible via management frames, but not surfaced in the API.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.