Serverless
Files
Download file
Changed onDownloads a file by its path. Proxies the underlying storage response.
Required permissions: serverless:files:read. Key presets that include them: SERVERLESS, DEPLOY, READONLY, FULL. See key permissions.
get/serverless/files/file/{file}
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/serverless/files/file/{file}
- AuthAPI key in header Authorization
Path parameters
filestring required
Path of the file to download
Example:datasets/images/cat.jpg
Response
File stream
Changes
- info
the endpoint scheme security
readonlyApiKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info