files
files
Download File
Download the latest version of a file.
By default, redirects to a presigned URL for direct download from storage (fast). Use ?direct=true to download through the API gateway (slower, for debugging). Use ?url_only=true to get the presigned URL as JSON (for CORS-safe frontend fetching).
get/api/files/{file_id}/download
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/files/{file_id}/download
- Auth: none declared
Path parameters
file_idinteger required
Query parameters
directboolean
If true, download through gateway instead of redirect
url_onlyboolean
If true, return presigned URL as JSON instead of redirect
attachmentboolean
If true, the presigned URL answers as a file to save, not one to show
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.