How to add sequencer subsequences with Python

Hi there.
I have been struggling with this for a couple of days now and can’t find any answers online.
How do I create subsequences with tracks in Python?

I have been reading the documentation over and over and I keep going in circles.
I can create a level sequence, add master tracks etc. but I can not seem to figure out how to add subsequences with tracks to a level sequence…

Any help would be appreciated!

have you found a solution? :slight_smile: