Skip to main content
GET
/
api
/
test-runs
/
{id}
/
artifacts
List test run artifacts
curl --request GET \
  --url https://api.empirical.run/api/test-runs/{id}/artifacts \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "artifacts": [
      {
        "key": "<string>",
        "url": "<string>",
        "size": 123,
        "last_modified": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Test run database ID.

Required range: x >= 1

Query Parameters

key
string

Exact artifact path (relative to the run) to look up via a single HEAD request. Takes precedence over prefix/suffix.

prefix
string

Restrict the listing to artifacts whose path starts with this.

suffix
string

Restrict the listing to artifacts whose path ends with this.

Response

The matching artifacts.

data
object
required