get_log_json_file
Retrieve structured JSON logs for Sauce Labs Virtual Device Cloud tests, including commands, timing, and screenshots for detailed test analysis.
Instructions
Shows the complete log of a Sauce Labs test, in structured json format.
IMPORTANT: This method only works with Virtual Device Cloud (VDC) jobs. For Real Device
Cloud (RDC) jobs, use get_specific_real_device_job_asset with asset_type='appiumLogs'
or 'deviceLogs' instead.
If this method fails with "asset not found", the job is likely an RDC job - try
get_specific_real_device_job_asset instead.
:param job_id: The Sauce Labs Job ID (VDC jobs only).
:return: Structured JSON log data with test commands, timing, and screenshots.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |