Export visit log with action-level custom dimensions?

I’m currently logging custom dimensions at the event level and would like to incorporate them into an export like Live.getLastVisitsDetail, so that each visit’s event list also has the tagged custom dimensions. Is this currently possible, either through built-in functionality or through a custom plugin?

Thanks!

Any help with this would be appreciated.

It’s not possible now afaik. You can try with some workarounds, e.g. with segments. See this one: https://forum.matomo.org/t/retrieving-custom-dimension-data-on-events-via-the-reporting-api/18298

Problem is segments will still only get you one dimension/event. What if i want to retrieve the values of two dimensions that were set in an event?