Create a dataset from file upload, HuggingFace, or Kaggle
POST/api/v1/datasets
Unified ingest endpoint. Pass source.url to start an async import — the provider is inferred from the URL host. Omit it to get upload instructions for a presigned S3 PUT.
Create a dataset from file upload, HuggingFace, or Kaggle
curl https://api.prod.adaptionlabs.ai/api/v1/datasets \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"source": {}
}'{
"dataset_id": "dataset_id",
"status": "status",
"upload_instructions": {
"url": "https://s3.amazonaws.com/bucket/key?X-Amz-Signature=...",
"method": "PUT",
"s3_key": "s3_key"
}
}Returns Examples
{
"dataset_id": "dataset_id",
"status": "status",
"upload_instructions": {
"url": "https://s3.amazonaws.com/bucket/key?X-Amz-Signature=...",
"method": "PUT",
"s3_key": "s3_key"
}
}