Hello Kevin,
Under the Soundbanks tab of the project settings (shift-k) in Wwise, you should enable the "estimated duration" box within the Metadata options. A durationType will be added in the SoundBanksInfo.xml file generated with your soundbanks. Parsing this file is the best way to know whether an event will have an infinite duration or not.
If you are using Sound Frame within your editor, you can call AK::SoundFrame::ISoundFrame::GetWwiseObjectPath() to know the organizational path of each object within your Event.
Hope this helps,
Adrien