latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Reporting

Create an export of test run artifacts

Initiate an asynchronous export of specified test run artifacts, such as screenshots or HAR logs. This endpoint returns an export ID. Use the export ID with the get export endpoint to retrieve the download URL.

post/report/runArtifacts/testRun/{test_run_id}

Path parameters

test_run_idstring required

Test run ID

Request body

idstring

Export ID

created_timeinteger

Export request time (epoch milliseconds)

last_updated_timeinteger

Export last updated time (epoch milliseconds)

workspace_idstring

Workspace ID

status'queued' | 'running' | 'completed' | 'failed' | 'terminated'

Export status

test_run_idstring

ID of the test run exported

artifact_typesstring[] required

Requested export artifact types

export_signed_urlstring

Signed download URL (populated when status is completed)

Response

Export request created

idstring

Export ID

created_timeinteger

Export request time (epoch milliseconds)

last_updated_timeinteger

Export last updated time (epoch milliseconds)

workspace_idstring

Workspace ID

status'queued' | 'running' | 'completed' | 'failed' | 'terminated'

Export status

test_run_idstring

ID of the test run exported

artifact_typesstring[] required

Requested export artifact types

export_signed_urlstring

Signed download URL (populated when status is completed)