How This Helps
Creating a dataset from S3 is the recommended approach for production workflows. Point the API at your S3 bucket path and Visual Layer handles ingestion, indexing, and clustering automatically.
Use
status_new for all status checks. The status field is being retired. See Retrieve Dataset Status.Prerequisites
- A Visual Layer Cloud account with API access.
- A valid JWT token. See Authentication.
- An S3 bucket containing your images or videos, accessible to Visual Layer.
Create a Dataset from S3
Send aPOST request with your bucket path to create a new dataset.
Parameters
Example
Response
dataset_id — you need it for all subsequent operations on this dataset.
Monitor Dataset Status
Poll the dataset status endpoint to track progress.status_new field that transitions from INDEXING to READY when complete. See Retrieve Dataset Status for full status documentation.
Python Example
Response Codes
See Error Handling for the error response format and Python handling patterns.Related Resources
Retrieve Dataset Status
Poll dataset status until processing completes.
Add Media to an Existing Dataset
Incrementally add new media to an indexed dataset.