Artifacts

Redirect to a signed URL for a screenshot or video, valid for up to 15 minutes

Operation ID: getArtifact

GET
/artifacts/{artifactId}

Answers 302 with the signed URL in the Location header and no body. Follow the redirect to download the file; do not store the URL, it expires. 404 not_found when the artifact is not in this app or its evidence has been removed (retention).

Needs an API key with the read scope.

Authorization

apiKey
headerAuthorizationBearer <oq_ followed by 43 letters and digits>

An Outqube API key, made in the app's settings. It belongs to one app and has the scope read, trigger or manage; a higher scope includes the lower ones. A revoked or expired key is a 401.

Path Parameters

artifactId*string

An artifact id, such as a step's screenshot_artifact_id.

Match^art_[A-Za-z0-9_-]{4,200}$

Response Body

Redirect to the signed URL. The response has no body.

Example Request
curl -X GET 'https://app.outqube.com/api/v1/artifacts/art_c2e5a7b91d3f4a68b0c48e9d2f1a3b57'
Example Response
Empty