get_test_assets
Retrieve all test assets for Virtual Device Cloud jobs using the Sauce Labs Job ID to access videos, screenshots, and logs for test analysis.
Instructions
Returns the list of all assets for a test, based on the job ID.
IMPORTANT: Only use this method with Virtual Device Cloud (VDC) jobs. This will fail
with a 404 error for Real Device Cloud (RDC) jobs. If you get an error about
"Real Device job", use get_specific_real_device_job_asset instead.
To determine job type: RDC jobs typically have device names like "Samsung Galaxy" or "iPhone 14".
VDC jobs typically have browser names like "chrome", "firefox", or platform names like "Windows 11".
:param job_id: The Sauce Labs Job ID (VDC jobs only).
:return: JSON containing a list of assets, from which the URL can be derived.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |