get_log_json_file
Retrieves the complete test log in structured JSON format for Sauce Labs VDC jobs, including commands, timing, and screenshots.
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
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |