Expand dataset with synthetic samples
Generate synthetic dataset samples using LLM based on existing data patterns
Path parameters
id
Request
This endpoint expects an object.
model
The model to use for synthetic data generation
sample_count
Number of synthetic samples to generate
preserve_fields
Fields to preserve patterns from original data
variation_instructions
Additional instructions for data variation
custom_prompt
Custom prompt to use for generation instead of auto-generated one
max_completion_tokens
Maximum number of tokens for the LLM response. Required by Anthropic, used as maxOutputTokens for Gemini. If not provided, defaults to 4000 for Anthropic models only.
Response
Generated synthetic samples
generated_samples
List of generated synthetic dataset items
model
Model used for generation
total_generated
Total number of samples generated
generation_time
Generation timestamp