files
files
Preview File
Preview a file inline in the browser (for images, PDFs, etc.)
By default, redirects to a presigned URL for direct access from storage (fast). Use ?direct=true to stream through the API gateway (slower).
For non-previewable file types, falls back to download behavior.
get/api/files/{file_id}/preview
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}/preview
- Auth: none declared
Path parameters
file_idinteger required
Query parameters
directboolean
If true, download through gateway instead of redirect
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.