Upload Dataset
Upload a new dataset for training. Supports various formats including text, images, audio, and structured data.Required Parameters
name: Human-readable name for the dataset (1-100 characters)type: Dataset type (text,image,audio,video,structured,multimodal)format: Data format (jsonl,csv,parquet,hdf5,zip,tar)
Optional Parameters
description: Description of the datasettags: Array of tags for organizationvalidation: Validation configuration objectpreprocessing: Preprocessing configuration objectmetadata: Additional metadata object
Example Usage
Upload Text Dataset for Language Model Training
Upload Image Dataset for Computer Vision
Upload Multimodal Dataset
Response
Returns the created dataset object:Upload Data to Dataset
After creating a dataset, upload your data files using the provided upload URL and token.Upload via Direct HTTP
Upload Large Files (Multipart)
For files larger than 100MB, use multipart upload:Get Dataset Details
Retrieve detailed information about a specific dataset.Response
List Datasets
Retrieve a list of datasets for your account.Query Parameters
type: Filter by dataset type (text,image,audio,video,structured,multimodal)status: Filter by status (uploading,processing,ready,error)limit: Number of datasets to return (1-100, default: 50)offset: Number of datasets to skip for paginationsort: Sort order (created_at,updated_at,name,size)order: Sort direction (asc,desc, default:desc)
Response
Update Dataset
Update dataset metadata and configuration.Delete Dataset
Delete a dataset and all associated data.Dataset Validation
Text Dataset Validation
Image Dataset Validation
SDK Examples
Python SDK
JavaScript SDK
Data Formats
Text Datasets
JSONL Format for Instruction Tuning
CSV Format for Classification
Image Datasets
Directory Structure
JSONL with Annotations
Error Handling
Common Errors
Best Practices
Data Quality
- Ensure consistent formatting across all examples
- Remove duplicates and low-quality samples
- Balance your dataset across different classes or categories
- Validate data integrity before uploading
Storage Optimization
- Use compressed formats like Parquet for structured data
- Optimize image sizes while maintaining quality
- Remove unnecessary metadata from files
- Consider data deduplication for large datasets
Security
- Never include sensitive information in training data
- Use proper access controls for private datasets
- Implement data lineage tracking for compliance
- Regularly audit dataset contents
Dataset processing time varies based on size and complexity. Text datasets typically process within minutes, while large image datasets may take several hours.

