Serverless
Files
Upload file from URL
Changed onCreates a new file at the target path by downloading it from the provided URL.
Required permissions: serverless:files:write. Key presets that include them: SERVERLESS, DEPLOY, FULL. See key permissions.
post/serverless/files/file/url/{file}
Request
- Base URLhttps://api.fal.ai/v1
- URLhttps://api.fal.ai/v1/serverless/files/file/url/{file}
- AuthAPI key in header Authorization
Path parameters
filestring required
Target file path (including filename)
Example:datasets/images/cat.jpg
Request body
Response
Upload initiated
boolean required
Indicates whether the operation was successful
Changes
- info
the endpoint scheme security
deployApiKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API
- info