Skip to main content
Uploads a CSV file. Processing happens in the background. See Uploading data for the full workflow.
Requires Basic Auth and Write permission on the dataset.

Path parameters

integer
required
Dataset ID.

Form fields

file
required
A CSV file with a header row. You can compress it with gzip. The request limit is 80 MB.
string
A JSON array that describes the columns. See Manifest. The first upload to a new dataset needs a manifest, unless you already initialized the columns.

Query parameters

boolean
default:"false"
Delete existing data that is not in the file.
boolean
default:"false"
Overwrite existing values with the values in the file.
boolean
Allow the file to add new columns.
See Upload modes.

Response

Returns 201 with the upload process.
integer
Process ID.
string
Starts at Requested.
string
Creation time.
integer
Dataset ID.

Check an upload process

Both require Write permission. The list returns the 100 newest processes, newest first. Each process has id, datasetId, status, statusDescription, deleteMissingFromDB, onConflictUpdateDB, createdAt, and processedAt. Check until status is Processed or Error.

Example

Replace the data with the content of a compressed file:
deleteMissingFromDB=true permanently removes data that is not in the file. Check that the file is complete.

Error responses

Errors in the data do not change the 201 response. They appear in the process, with status Error and a statusDescription.