Generate file upload URL
Generate pre-signed URL for uploading files to a flow.
Creates a temporary upload URL that allows direct file upload to cloud storage without exposing storage credentials. Each URL is valid for 1 hour.
Upload Process
- Call this endpoint to receive an upload URL
- Use PUT request to upload your file to the returned
upload_url - Save the returned
file_keyto reference the file later - File becomes accessible via the flow immediately after upload
Supported File Types
- Documents: PDF, DOCX, TXT, CSV
- Images: PNG, JPG, GIF
- Archives: ZIP, TAR
- Maximum file size: 100MB
Header Parameters
Query Parameters
MIME type of file to upload (e.g., 'application/pdf', 'image/png')
Path Parameters
Response
Response Attributes
Standard error detail structure.
This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.
Show child attributes
Response Attributes
Standard error detail structure.
This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.
Show child attributes
Response Attributes
Show child attributes
Response Attributes
Standard error detail structure.
This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.