SDK Unused documents

Hi all,  I am trying to use the SDK to retrieve all Unused documents in my model, and then, for instance delete them (or exclude them) automatically.  Is there some example source code available, to retrieve these unused items, which I can use? Before I start to plunge myself into the deeps of typescript..  Thanks!
1 answers

I'm not aware of such a script yet. I'm not even sure this information can be retrieved using the SDK.

Keep in mind that not all items are actually unused. For example microflows used by the excel importer.