Generate database upload URL
Generate a pre-signed URL for uploading files to a database.
Creates a temporary upload URL that allows direct file uploads to cloud storage without routing data through the API server. The URL expires after 1 hour.
This is the first step in the multi-step upload workflow:
- Generate upload URL (this endpoint)
- Upload file directly to cloud storage using the URL
- Preview uploaded file (optional)
- Complete upload and process file
Use Cases: - Upload CSV files for data import - Upload large datasets efficiently - Batch data ingestion
Security: - URL expires after 1 hour - File is uploaded to user-specific path - Metadata includes database ID for tracking
Header Parameters
Query Parameters
Path Parameters
Response
Response Attributes
Unique key identifying the file location in storage. Use this key to reference the file in subsequent operations.
Pre-signed URL for uploading file to cloud storage. Upload your file to this URL using PUT or POST request.
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.