Data Import

Upload CSV file

Upload CSV or ZIP file and create/update table definition. This is the first step in the import workflow, it only uploads the file and prepares the table structure. Use the /import endpoint to actually process and import the data into the database. For ZIP files, the CSV file must match the ZIP filename (e.g., data.zip must contain data.csv).

post/tables/upload/{dbId}/{tableId}

Path parameters

dbIdstring required

Database ID

tableIdstring required

Table ID

Response

successful operation

statusstring
file_pathstring

Partial file path for import

action'created' | 'updated'
csv_uploaded_atstring date-time
import_statusstring
messagestring

Example response

{
  "status": "success",
  "import_status": "ready"
}

Changes