Complete a file upload and trigger processing
POST/api/v1/datasets/{dataset_id}/upload/complete
File uploads only. Call after uploading bytes to the presigned URL from POST /datasets. Verifies the file exists in S3, then triggers the preprocessing pipeline.
Body ParametersJSON
Complete a file upload and trigger processing
curl https://api.adaptionlabs.ai/api/v1/datasets/$DATASET_ID/upload/complete \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"file_size_bytes": 1048576,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}'{
"dataset_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "processing"
}Returns Examples
{
"dataset_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "processing"
}