Skip to main content
Glama
saucelabs

Sauce Labs MCP Server

Official
by saucelabs

get_test_assets

Retrieve all test assets for a Virtual Device Cloud job using the Sauce Labs Job ID to access logs, screenshots, and video recordings for 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
NameRequiredDescriptionDefault
job_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saucelabs/sauce-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server