post
https://example.com/api/v2/projects//artifacts//presigned-url
Mints a short-lived URL for previewing or downloading an artifact
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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.
| Parameter | Type | Accepted values | Default | Description |
|---|---|---|---|---|
mode | string | preview · download | download | preview 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.
