---
title: "Download one artifact"
method: GET
path: "/o/{org}/sessions/{session}/artifacts/{name}"
tags: ["Results & artifacts"]
---

# Download one artifact

`GET /o/{org}/sessions/{session}/artifacts/{name}`

## Request

- Base URL: `https://api.prix.dev`
- URL: `https://api.prix.dev/o/{org}/sessions/{session}/artifacts/{name}`
- Auth: HTTP bearer

The file's bytes, streamed, with the `Content-Type` it was saved with,
`Content-Disposition: inline` and its filename. Send the key, or open the artifact's `url`
from the session read, which carries `expires` and `signature` and needs no key until
`url_expires_at`; `HEAD` on the link answers the headers alone. A link opens only the file
it was issued for; a wrong, expired or altered link answers `404`, as a missing file does.

## Query parameters

- `expires` integer
- `signature` string

## Response `200`

The file.

## Other responses

- `401`: No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
- `404`: No such resource for the caller, including one in an org the caller is not in or a Project that is private to someone else.

---

[API](https://skmtc.dev/getrush/apis/rush-api.md) · [All operations](https://skmtc.dev/getrush/apis/rush-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getrush/apis/rush-api/revisions/05fb36ca864f?raw)
