uploads
Upload files and create data source
Upload local files (multipart/form-data) or import from URLs (application/json) and immediately create a FILE data source. Returns the same response format as /sources/ endpoint. Supported file types: CSV, TSV, Excel (.xls/.xlsx), SQLite (.sqlite/.db/.sqlite3), Parquet. Limits: Max 10GB per file. Security: URLs are validated to prevent SSRF attacks. Private IPs, localhost, and cloud metadata endpoints are blocked.
POST
/api/v1/uploads/upload/
Headers
Authorizationrequiredany - API key authentication using Bearer scheme
Request Body
file_urlsrequiredarray - List of file URLs to import. Each item must include 'url' and 'filename'.
account_namestring - Name for the data source (auto-generated if not provided)
Response
idrequiredinteger - ID of the created data source
