Serverless
Files

Downloads 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 URL
    https://api.fal.ai/v1
  • URL
    https://api.fal.ai/v1/serverless/files/file/{file}
  • Auth
    API 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 readonlyApiKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API