Files
Download file
Get a signed download URL for a file.
GET
Download file
Returns a signed URL for a file stored in a workspace. The endpoint returns the URL, not the bytes. Fetch the URL to get the file.
Query parameters
Response
Signed download URL, valid for one hour from the moment of the request. It carries the file’s original name as an attachment filename. A browser saves it under that name rather than under the internal storage key.
Example
Response
The URL is pre-signed. It works in a browser or any HTTP client with no
authorization header of its own, and it expires one hour after it is issued.
Request a new one rather than storing it.
Errors
Every error carries the shape{"error": "<message>"}.
Compatibility parameter
Preferid. The older fileId spelling is also accepted as an alias. If both are present with different values the request returns 400. At least one is required.