Skip to main content
GET
Download or preview a file

Authorizations

app_key
string
query
required

App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Query Parameters

t
string
required

Signed token issued by POST /safari/artifact/sign. Bound to the calling account and person; valid for 5 minutes.

mode
enum<string>
default:download

download (default) serves the file as an attachment; preview serves it inline for browser display. Any other value falls back to download.

Available options:
download,
preview

Response

File bytes, proxied, when the file is hosted on a self-hosted runner. Content-Disposition follows mode.

The response is of type file.