Complete a batch upload and trigger processing
POST/api/v1/datasets/upload/complete-batch
Any TXT files in the batch are converted to csv/jsonl. Batches that still contain documents (pdf/docx/pptx/xlsx/html, or unpacked zip contents) move to awaiting_preprocessing and wait for an explicit launch-preprocessing call. Batches with only tabular formats (csv/json/jsonl/parquet, plus any converted-from-TXT files) move directly to column extraction.
Body ParametersJSON
Complete a batch upload and trigger processing
curl https://api.prod.adaptionlabs.ai/api/v1/datasets/upload/complete-batch \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"dataset_id": "dataset_id",
"files": [
{
"s3_key": "s3_key",
"file_name": "file_name",
"file_format": "csv",
"file_size_bytes": 0
}
]
}'{
"dataset_id": "dataset_id",
"status": "status"
}Returns Examples
{
"dataset_id": "dataset_id",
"status": "status"
}