Replacing ediscovery matter with GAM search

13 views
Skip to first unread message

MDP

unread,
Dec 22, 2025, 1:56:33 PM (21 hours ago) Dec 22
to GAM for Google Workspace
Hi folks,

I would like to build a shortcut with gam that creates a vault matter, query, and export, then downloads just the metadata csv for review. I have gotten as far as creating/downloading the export. How can I avoid downloading all the mbox files and just get the metadata.csv?

Thanks,

Michael

Ross Scroggs

unread,
Dec 22, 2025, 2:13:29 PM (21 hours ago) Dec 22
to google-ap...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/00eb7fa3-17f3-403b-8e38-267a59a40dfen%40googlegroups.com.

MDP

unread,
Dec 22, 2025, 2:47:21 PM (20 hours ago) Dec 22
to GAM for Google Workspace
Not exactly but this helped me figure out a way forward. The files have a predictable link structure:

https://vault.usercontent.google.com/download/matters/<matterID>/exports/<exportID>/files/<#>

The last # is 0-4 and -1 where:
0: <Export name>-1.zip (the mbox/pst files)
1: <Export name>_counts-metadata.xml
2: <Export name>_counts-metadata.csv
3: <Export name>_counts-errors.xml
4: <Export name>_counts-result-counts.csv
-1: File checksums

So I just need to capture the IDs and plug them into the URL. Thanks Ross!
Reply all
Reply to author
Forward
0 new messages