Files
Download File
Download a file by redirecting to a signed URL
GET
This endpoint requires authentication and the
viewFiles permission.
The endpoint returns a 302 redirect to a signed URL that expires in 5 minutes.Path Parameters
The storage provider. One of:
s3: Amazon S3 storagelocal: Local file storage
The storage key/path of the file
Response
Returns HTTP 302 Found with a Location header containing a signed URL for downloading the file.Error Responses
Error details when the request fails
Common error cases:
- 400 Bad Request: Invalid provider or key
- 401 Unauthorized: Missing or invalid access token
- 403 Forbidden: Missing required permission
- 404 Not Found: File not found
