Get a presigned URL

Mints a short-lived URL for previewing or downloading an artifact

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Mints a short-lived URL for the artifact's latest version, so it can be previewed inline or downloaded with the API key alone — no browser session needed.

ParameterTypeAccepted valuesDefaultDescription
modestringpreview · downloaddownloadpreview serves the file inline, so HTML, Markdown, SVG and images render in your UI. download forces an attachment download.

The URL expires, so mint it when the user asks for the artifact rather than storing it alongside the metadata. data_app artifacts are not retrievable this way.

See Artifacts for a worked example.

🔗

Learn more


Path Params
integer
required

Project ID.

integer
required
Body Params
string
enum
Defaults to download

preview serves the file inline (HTML/Markdown/SVG render in the embedder's UI); download forces an attachment.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json