I’ve done an absolute ton of iCloud data management in the past few years and one of the most frustrating things is how easy some data exporting is, but is not documented at all.
For example, you can copy a list of every URL open in a Tab Group, and just paste it somewhere. Unless you have a ton of Tab Groups, it’s the fastest way I’ve found. I never have more than 20 or so, so it’s barely worth scripting.
On Macs, depending on your configuration and apps, a lot (or all) of the app-specific iCloud data is synced to the local file system. Finder refuses to interact with that hierarchy, but Terminal and third party file browsers don’t care.
Not that it shouldn’t be even easier, mind you. I think it absolutely should.