I have found the documentation to get all the assests like screenshots etc based on a jobId. https://wiki.saucelabs.com/display/DOCS/Job+Methods#JobMethods-GetJobAssetFiles
However, it looks like the jobId is only for a particular session.
I have a usecase where I run a lot of tests which can be grouped by a buildIdentifier. I pass that as metadata when running the automated tests as follows.
build: 'ABC', //Optional,if you need to view the builds in the Sauce dashboard
However, these tests are run under different sessions and hence different job Ids. If I want to get the assets from all these tests with a single call, I should be able to do so using the buildIdentifier 'ABC'. Can a rest endpoint be added for this?