Sauce Labs
Cloud testing: jobs, builds, users and devices
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Sauce Labs usernameRequired
- Access keySecretRequired
- Data centerOptionalIdentifier3 choices
Where to find them
- In Sauce Labs open your account → “User Settings”.
- Copy your username and the “Access Key”.
- Choose the data center of your account here.
Tools (1)
Sauce Labs API request
SAUCELABS_SEND_REQUESTAuthenticated call to the Sauce Labs API (https://{server}). Any endpoint of the API is allowed. Examples: GET /rest/v1/{username}/jobs?limit=20, GET /rest/v1/{username}/jobs/{jobId}, GET /v2/builds/vdc/?limit=20, GET /v1/rdc/devices/available, GET /team-management/v1/users/, GET /rest/v1.2/users/{username}/concurrency.
Required scopes
No scopes required
Input
Sauce Labs API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

