Skip to main content

AI Test Authoring API Endpoints

The AI Test Authoring API allows you to manage AI-authored test cases, test suites, and test schedules. Use these methods to create, retrieve, update, delete, and run your AI-authored tests programmatically.

Refer to Getting Started for Authentication and Server information.

What You'll Need

Test Cases

List Test Cases

GET /v1/ai-authoring/testcases
Returns a paginated list of test cases. Supports filtering by search term, date range, user, team, and test suite.

Parameters

search

| QUERY | OPTIONAL | STRING |

Case-insensitive search term matched against the test case name.

startDate

| QUERY | OPTIONAL | DATE |

ISO 8601 start date filter — only return test cases created on or after this date.

endDate

| QUERY | OPTIONAL | DATE |

ISO 8601 end date filter — only return test cases created on or before this date.

userId

| QUERY | OPTIONAL | STRING |

Filter by creator user UUID.

teamId

| QUERY | OPTIONAL | STRING |

Filter by team UUID.

testSuiteId

| QUERY | OPTIONAL | ARRAY of STRINGS |

Filter by test suite UUID(s). Pass null to find unassigned test cases. Accepts a single value or an array.

skip

| QUERY | OPTIONAL | INTEGER |

Number of results to skip (for offset-based pagination). Default value is 0.

limit

| QUERY | OPTIONAL | INTEGER |

Maximum number of results to return. Set to 0 to only retrieve the total count.

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testcases" | json_pp

Responses

200Success. Returns paginated list of test cases
400Invalid query string parameters
401Missing or invalid authentication header
Sample Response
{
"data": {
"total": 8,
"items": [
{
"id": "69c164bcd27d5bfc3e3ef8a7",
"orgId": "<orgId>",
"teamId": "<teamId>",
"creatorUserId": "<creatorID>",
"lastModifierUserId": "<userId>",
"testSuiteId": "<suiteId>",
"name": "Saucedemo - Backpack and bike light flow",
"creationDate": "2026-03-23T16:05:16.333Z",
"lastUpdateDate": "2026-03-23T16:06:42.915Z",
"runSettings": {
"testUrl": "https://www.saucedemo.com/",
"primaryTarget": {
"capabilities": {
"browserName": "chrome",
"browserVersion": "latest",
"platformName": "Windows 11",
"sauce:options": {},
"goog:chromeOptions": {
"prefs": {
"profile.password_manager_leak_detection": false
}
}
},
"isRdc": false
},
...

Get a Test Case

GET /v1/ai-authoring/testcases/{id}
Returns the details of a specific test case.

Parameters

id

| PATH | REQUIRED | STRING |

Test Case Id (24-character hex string)

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testcases/<id>" | json_pp

Responses

200Success. Test case details
400Invalid path parameters
401Missing or invalid authentication header
404Test case not found
Sample Response
{
"data": {
"id": "<id>",
"orgId": "<orgId>",
"teamId": "<teamId>",
"creatorUserId": "<userId>",
"lastModifierUserId": "<userId>",
"testSuiteId": "<suiteId>",
"name": "Saucedemo - Backpack and bike light flow",
"creationDate": "2026-03-23T16:05:16.333Z",
"lastUpdateDate": "2026-03-23T16:06:42.915Z",
"runSettings": { ... },
"revisions": [ ... ],
"creatorUserName": "sauceBot",
"lastModifierUserName": "sauceBot"
}
}

Delete a Test Case

DELETE /v1/ai-authoring/testcases/{id}
Deletes the specified test case.

Parameters

id

| PATH | REQUIRED | STRING |

Test case Id (24-character hex string).

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request DELETE "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testcases/<id>"

Responses

204Test case deleted
400Invalid path parameters
401Missing or invalid authentication header
404Test case not found

Run a Test Case

POST /v1/ai-authoring/testcases/{id}/run
Starts a test case run. Optionally target a specific revision by appending revisionId to the path.

Parameters

id

| PATH | REQUIRED | STRING |

Test case Id (24-character hex string).

buildName

| BODY | OPTIONAL | STRING |

The name of the build to associate with the test case run. Defaults to test case name if not set.

targets

| BODY | OPTIONAL | ARRAY of OBJECTS |

A list of target device configurations. Each object can contain the following attributes:

  • capabilities - OBJECT - The desired Sauce Labs capabilities for the run.
scTunnelName

| BODY | OPTIONAL | STRING |

The name of the Sauce Connect tunnel to use for the run.

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/testcases/<id>/run' | json_pp

Responses

200Success. Test case run initiated
400
  • Invalid path parameters
  • Invalid request body
  • No run targets configured
  • Sauce Connect tunnel not found
401Missing or invalid authentication header
404
  • Test case not found
  • Revision not found
Sample Response
{
"data" : {
"build" : "Saucedemo - Backpack checkout - 2",
"creationDate" : "2026-03-24T20:31:57.869Z",
"id" : "<id>",
"jobs" : [ ... ],
"orgId" : "<orgId>",
"teamId" : "<teamId>",
"testCaseId" : "<testCaseId>",
"testUrl" : "https://www.saucedemo.com/",
"userId" : "<userId>"
}
}


Rename a Test Case

POST /v1/ai-authoring/testcases/{id}/rename

Renames the specified test case.

Parameters

id

| PATH | REQUIRED | STRING |

Test case Id (24 character hex string)

name

| BODY | REQUIRED | STRING |

The updated name of the test case

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/testcases/<id>/rename' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated Test Name"
}' | json_pp

Responses

200Successfully updated test case name
400
  • Invalid path parameters
  • Invalid request body
401Missing or invalid authentication header
404Test case not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-17T15:35:55.794Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "<userId>",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdateDate" : "2026-03-24T20:57:31.086Z",
"name" : "Updated test name",
"orgId" : "7fb25570b4064716b9b6daae1a846790",
"revisions" : [ ... ],
"runSettings" : { ... },
"teamId" : "<teamId>",
"testSuiteId" : "<testSuiteId>"
}
}

Test Suites

List Test Suites

GET /v1/ai-authoring/testsuites

Returns a list of all test suites in your account.

Parameters

ids

| QUERY | OPTIONAL | ARRAY<STRING> |

Filter by specific test suite UUID(s). Accepts a single value or an array

search

| QUERY | OPTIONAL | STRING |

Case-insensitive search term matched against the suite name

startDate

| QUERY | OPTIONAL | STRING |

ISO 8601 start date filter — only return suites created on or after this date

endDate

| QUERY | OPTIONAL | STRING |

ISO 8601 end date filter — only return suites created on or before this date

userId

| QUERY | OPTIONAL | STRING |

Filter by creator user UUID

teamId

| QUERY | OPTIONAL | STRING |

Filter by team UUID

skip

| QUERY | OPTIONAL | INTEGER |

Number of results to skip (for offset-based pagination). Defaults to 0

limit

| QUERY | OPTIONAL | INTEGER |

Maximum number of results to return

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites" | json_pp

Responses

200Success. Returns paginated list of test suites
400Invalid query string parameters
401Missing or invalid authentication header
Sample Response
{
"data": {
"items": [
{
"id": "<id>",
"orgId": "<orgId>",
"teamId": "<teamId>",
"name": "Smoke tests",
"tags": [
"string"
],
"creationDate": "2024-01-15T10:00:00Z",
"lastUpdate": "2024-01-15T10:00:00Z",
"creatorUserId": "<userId>",
"creatorUserName": "<userId>",
"lastModifierUserId": "<userId>",
"lastModifierUserName": "sauceBot",
"testCaseCount": 10
},
{...}
],
"total": 30
}
}

Create a Test Suite

POST /v1/ai-authoring/testsuites

Creates a new test suite.

Parameters

Request body parameters.
Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Sauce Smoke tests",
"testCases": [
"<testCaseId>"
]
}' | json_pp

Responses

201Created test suite
400Invalid request body
401Missing or invalid authentication header
404One or more test cases not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T22:28:20.224Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdate" : "2026-03-24T22:28:20.224Z",
"name" : "Sauce Smoke Tests",
"orgId" : "<orgId>",
"runCount" : 0,
"tags" : [],
"teamId" : "<teamId>",
"testCaseCount" : 0
}
}

Get a Test Suite

GET /v1/ai-authoring/testsuites/{id}

Returns the details of a specific test suite.

Parameters

id

| PATH | REQUIRED | STRING |

UID of the test suite

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites/<id>" | json_pp

Responses

200Success in getting test suite details
400Invalid path parameters
401Missing or invalid authentication header
404Test suite not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T22:28:20.224Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdate" : "2026-03-24T22:28:20.224Z",
"name" : "Sauce Smoke Tests",
"orgId" : "<orgId>",
"runCount" : 0,
"tags" : [],
"teamId" : "<teamId>",
"testCaseCount" : 0
}
}

Update a Test Suite

POST /v1/ai-authoring/testsuites/{id}

Updates the specified test suite.

Parameters

id

| PATH | REQUIRED | STRING |

UUID of the test suite to update

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites/<id>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated smoke tests",
"testCaseIds": [
"<testCaseId>"
]
}' | json_pp

Responses

200Success updating test suite
400
  • Invalid path parameters
  • Invalid request body
  • Invalid or missing test cases
  • Test cases not found
401Missing or invalid authentication header
404Test suite not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T22:40:55.113Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdate" : "2026-03-24T22:42:48.163Z",
"name" : "Updated smoke tests",
"orgId" : "<orgId>",
"runCount" : 15,
"tags" : [],
"teamId" : "<teamId>",
"testCaseCount" : 3
}
}

Delete a Test Suite

DELETE /v1/ai-authoring/testsuites/{id}
Deletes the specified test suite.

Parameters

id

| PATH | REQUIRED | STRING |

The unique identifier of the test suite to delete

deleteTestCases

| BODY | OPTIONAL | BOOLEAN |

If set to true, test cases assigned to this test suite will be deleted

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request DELETE "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites/<id>"

Responses

204Test suite deleted (No Content)
400
  • Invalid path parameters
  • Invalid request body
401Missing or invalid authentication header
404Test suite not found

Run All Test Cases in a Suite

POST /v1/ai-authoring/testsuites/{id}/run
Queues test case runs for every test case in the suite.

Parameters

id

| PATH | REQUIRED | STRING |

The UUID of the test suite to run

buildName

| BODY | OPTIONAL | STRING |

Name of the automated test build that will run as a result of suite execution. Defaults to the test suite name.

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST "https://api.us-west-1.saucelabs.com/v1/ai-authoring/testsuites/<id>/run" | json_pp

Responses

200Success. Runs initiated for all test cases in the suite
400
  • Invalid path parameters
  • Invalid request body
  • No jobs to run
401Missing or invalid authentication header
404Test suite not found
Sample Response
{
"data" : {
"buildName" : "E-Commerce app suite - 1",
"id" : "<id>",
"orgId" : "<orgId>",
"runCount" : 12,
"teamId" : "<teamId>",
"userId" : "<userId>"
}
}

Test Schedules

List Test Schedules

GET /v1/ai-authoring/test-schedules
Returns a paginated list of test schedules. Supports filtering by IDs, search term, date range, user, team, and test suite IDs.

Parameters

ids

| QUERY | OPTIONAL | ARRAY<STRING> |

Filter by specific schedule UUID(s). Accepts a single value or an array.

search

| QUERY | OPTIONAL | STRING |

Case-insensitive search term matched against the schedule name

startDate

| QUERY | OPTIONAL | STRING |

ISO 8601 start date filter — only return schedules created on or after this date

endDate

| QUERY | OPTIONAL | STRING |

ISO 8601 end date filter — only return schedules created on or before this date

userId

| QUERY | OPTIONAL | STRING |

Filter by creator user UUID

teamId

| QUERY | OPTIONAL | STRING |

Filter by team UUID

skip

| QUERY | OPTIONAL | INTEGER |

Number of results to skip (for offset-based pagination). Defaults to 0.

limit

| QUERY | OPTIONAL | INTEGER |

Maximum number of results to return

testSuiteIds

| QUERY | OPTIONAL | ARRAY<STRING> |

Filter schedules that contain any of these test suite UUID(s). Accepts a single value or an array.

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/test-schedules" | json_pp

Responses

200Paginated list of test schedules
400Invalid query string parameters
401Missing or invalid authentication header
Sample Response
{
"data" : {
"items" : [
{
"creationDate" : "2026-03-04T15:52:46.615Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdateDate" : "2026-03-17T14:06:14.927Z",
"name" : "E-Commerce App - Nightly",
"orgId" : "<orgId>",
"settings" : {
"cron" : "0 15 12 * * *",
"maxRuns" : 5,
"runningUserId" : "<userId>",
"startDate" : "2026-03-05T11:15:00.000Z",
"timezone" : "Europe/Berlin"
},
"state" : {
"lastRunDate" : "2026-03-10T11:15:00.652Z",
"runCount" : 7,
"stateName" : "DISABLED"
},
"teamId" : "<teamId>",
"testSuiteIds" : [
"<testSuiteId>"
]
},
{ ... }
],
"total" : 2
}
}


Create a Test Schedule

POST /v1/ai-authoring/test-schedules
Creates a new test schedule.

Parameters

name

| BODY | OPTIONAL | STRING |

An updated name for the schedule

settings

| BODY | OPTIONAL | OBJECT |

The schedule configuration for the test suite. The available attributes are:

  • cron - STRING - A cron expression defining the schedule interval
  • timezone - STRING - The timezone for the schedule
  • runningUserId - STRING - The user or service account under which the scheduled runs execute
  • startDate - OPTIONAL | STRING - The date when the schedule becomes active
  • endDate - OPTIONAL | STRING - The date when the schedule stops running
  • maxRuns - OPTIONAL | INTEGER - The maximum number of scheduled runs
  • scTunnelName - OPTIONAL | STRING - The name of the Sauce Connect tunnel to use
  • buildName - OPTIONAL | STRING - The name of the build to associate with scheduled runs
testSuiteIds

| BODY | OPTIONAL | ARRAY of STRINGS |

The suite IDs to run as part of the schedule

stateName

| BODY | OPTIONAL | STRING |

The state of the schedule

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/test-schedules' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"settings": {
"cron": "0 */1 * * *",
"timezone": "America/New_York",
"runningUserId": "string",
"startDate": "string",
"endDate": "string",
"maxRuns": 0,
"scTunnelName": "string",
"buildName": "string"
},
"testSuiteIds": [
"string"
],
"stateName": "ENABLED"
}' | json_pp

Responses

201Created test schedule
400
  • Invalid request body
  • Test suites not found
  • Running user not found
401Missing or invalid authentication header
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T23:28:37.264Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdateDate" : "2026-03-24T23:28:37.264Z",
"name" : "Regression scheduled run",
"orgId" : "<orgId>",
"settings" : {
"buildName" : "Build",
"cron" : "0 1 * * *",
"endDate" : "2026-06-25T12:00:00.000Z",
"maxRuns" : 5,
"runningUserId" : "<userId>",
"scTunnelName" : "none",
"startDate" : "2026-06-24T12:00:00.000Z",
"timezone" : "America/New_York"
},
"state" : {
"nextRunDate" : "2026-06-25T05:00:00.000Z",
"remainingRuns" : 5,
"runCount" : 0,
"stateName" : "ENABLED"
},
"teamId" : "<teamId>",
"testSuiteIds" : [
"<testSuiteId>"
]
}
}

Get a Test Schedule

GET /v1/ai-authoring/test-schedules/{id}
Returns the details of a specific test schedule.

Parameters

id

| PATH | REQUIRED | STRING |

The UUID of the test schedule

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/test-schedules/<id>" | json_pp

Responses

200Success fetching test schedule details
400Invalid path parameters
401Missing or invalid authentication header
404Test schedule not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T23:28:37.264Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdateDate" : "2026-03-24T23:28:37.264Z",
"name" : "Regression scheduled run",
"orgId" : "<orgId>",
"settings" : {
"buildName" : "Build",
"cron" : "0 1 * * *",
"endDate" : "2026-06-25T12:00:00.000Z",
"maxRuns" : 5,
"runningUserId" : "<userId>",
"scTunnelName" : "none",
"startDate" : "2026-06-24T12:00:00.000Z",
"timezone" : "America/New_York"
},
"state" : {
"nextRunDate" : "2026-06-25T05:00:00.000Z",
"remainingRuns" : 5,
"runCount" : 0,
"stateName" : "ENABLED"
},
"teamId" : "<teamId>",
"testSuiteIds" : [
"<testSuiteId>"
]
}
}

Update a Test Schedule

POST /v1/ai-authoring/test-schedules/{id}
Updates the specified test schedule.

Parameters

id

| PATH | REQUIRED | STRING |

The UUID of the test schedule to update

name

| BODY | OPTIONAL | STRING |

An updated name for the schedule

settings

| BODY | OPTIONAL | OBJECT |

The updated schedule configuration. The available attributes are:

  • cron - OPTIONAL | STRING - A cron expression defining the schedule interval
  • timezone - OPTIONAL | STRING - The timezone for the schedule
  • runningUserId - OPTIONAL | STRING - The user or service account under which the scheduled runs execute
  • startDate - OPTIONAL | STRING - The date when the schedule becomes active. Can be set to null, which will clear the field
  • endDate - OPTIONAL | STRING - The date when the schedule stops running. Can be set to null, which will clear the field
  • maxRuns - OPTIONAL | INTEGER - The maximum number of scheduled runs. Can be set to null, which will clear the field
  • scTunnelName - OPTIONAL | STRING - The name of the Sauce Connect tunnel to use. Can be set to null, which will clear the field
  • buildName - OPTIONAL | STRING - The name of the build to associate with scheduled runs. Can be set to null, which will clear the field
testSuiteIds

| BODY | OPTIONAL | ARRAY of STRINGS |

The suite IDs to run as part of the schedule

stateName

| BODY | OPTIONAL | STRING |

The state of the schedule

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/ai-authoring/test-schedules/<id>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated nightly regression",
"settings": {
"cron": "0 2 * * *"
},
"stateName": "ENABLED"
}' | json_pp

Responses

200Success updating test schedule
400
  • Invalid path parameters
  • Invalid request body
  • Invalid test suites
  • Test suites not found
  • Running user not found
401Missing or invalid authentication header
404Test schedule not found
Sample Response
{
"data" : {
"creationDate" : "2026-03-24T23:28:37.264Z",
"creatorUserId" : "<userId>",
"creatorUserName" : "sauceBot",
"id" : "<id>",
"lastModifierUserId" : "<userId>",
"lastModifierUserName" : "sauceBot",
"lastUpdateDate" : "2026-03-24T23:28:37.264Z",
"name" : "Updated nightly regression",
"orgId" : "<orgId>",
"settings" : {
"buildName" : "Build",
"cron" : "0 1 * * *",
"endDate" : "2026-06-25T12:00:00.000Z",
"maxRuns" : 5,
"runningUserId" : "<userId>",
"scTunnelName" : "none",
"startDate" : "2026-06-24T12:00:00.000Z",
"timezone" : "America/New_York"
},
"state" : {
"nextRunDate" : "2026-06-25T05:00:00.000Z",
"remainingRuns" : 5,
"runCount" : 0,
"stateName" : "ENABLED"
},
"teamId" : "<teamId>",
"testSuiteIds" : [
"<testSuiteId>"
]
}
}

Delete a Test Schedule

DELETE /v1/ai-authoring/test-schedules/{id}
Deletes the specified test schedule.

Parameters

id

| PATH | REQUIRED | STRING |

The UUID of the test schedule to delete.

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request DELETE "https://api.us-west-1.saucelabs.com/v1/ai-authoring/test-schedules/<id>"

Responses

204Test schedule deleted
401Missing or invalid authentication header
404Test schedule not found

Storage

Get Artifact File

GET /v1/ai-authoring/storage/{id}

Downloads a stored artifact (for example, screenshot) by its UUID.

Parameters

id

| PATH | REQUIRED | STRING |

Artifact UUID

Sample Request
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET "https://api.us-west-1.saucelabs.com/v1/ai-authoring/storage/<id>" \
--output <FILE>

Responses

200Artifact file stream
400Invalid path parameters
401Missing or invalid authentication header
404Artifact not found
The 200 response returns the artifact as a binary file stream (application/octet-stream). Error responses return JSON.