Get a short-lived presigned GET URL (used by the md renderer for images)
get_download_urlGet a short-lived presigned GET URL (used by the md renderer for images).
Text-like types are served with ; charset=utf-8 (S144). disposition=attachment makes the URL save the file under its original name instead of opening it (D146 (8)).
Short-lived presigned GET URL (about 5 minutes) for an attachment; get the attachment_id from list_attachments (or attach_file). Fetch the URL right away; ask again when it has expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disposition | No | `attachment` = the presigned URL forces a download (Content-Disposition: attachment) with the original file name; default `inline` opens it in the browser. | inline |
| attachment_id | Yes |