Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Rest API endpoint to get all artifacts for a buildIdentifier

I have found the documentation to get all the assests like screenshots etc based on a jobId.

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.


browserName: 'firefox',

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?

  • Guest
  • May 21 2020
  • Needs review
  • Attach files