Guides

📂 Create a Dataset from a Public S3 Bucket

⚠️ Supported only on cloud hosting

To create a dataset from a public S3 bucket, issue a call to the following API:

Request:

POST /api/v1/dataset
Headers: Authorization: Bearer <jwt>

Form Parameters:

  • dataset_name: string
  • bucket_name: string

Example:

curl -X POST -H "Authorization: Bearer <jwt>" \
     -F dataset_name=api_test \
     -F bucket_name=public_test_bucket \
     https://app.visual-layer.com/api/v1/dataset

Please notice, the dataset Id returned in the response used for subsequent calls.