PUT /datasets/{id}/data. To upload from the web app instead, see Your datasets.
Before the first upload
Create the dataset. Then describe its columns in one of two ways. Option 1: initialize the columns.
The API returns
201 with the stored columnDefinitions. After the dataset has data, this endpoint returns 403.
Option 2: send a manifest with the upload.
An upload to a new dataset with neither returns 400.
The upload process
Each upload creates a process that runs in the background.
Only one process per dataset runs at a time. If you upload again while a process is running, the new process stays in
Requested until its turn.
Check the process until it reaches Processed or Error. Wait for Processed before you read the new data.
File requirements
- CSV with a header row.
- Plain or gzip-compressed.
- Request size up to 80 MB.
- UTF-8 encoding is recommended.
Next steps
Manifest
Describe column types and entity columns.
Validation and upload modes
Avoid errors and control how data is merged.