generate_timeseries
Generate synthetic time-series data with customizable trend, seasonality, noise, and anomalies for testing dashboards, monitoring, and forecasting. Output in JSON, CSV, or SQL.
Instructions
Generate realistic synthetic time-series data with configurable trend, seasonality, noise, anomalies, and multiple correlated series. Ideal for testing dashboards, charts, monitoring/alerting, forecasting and anomaly-detection. Output as JSON, CSV, or SQL INSERTs. Use a preset for quick sensible defaults, or specify components explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Clamp values to this maximum. | |
| min | No | Clamp values to this minimum. | |
| seed | No | Deterministic seed for reproducible output. Pro feature. | |
| names | No | Optional explicit series names. | |
| noise | No | Noise model. 'ar1' (autocorrelated) is a Pro feature. | |
| start | No | ISO start timestamp, e.g. '2024-01-01T00:00:00Z'. Default 2024-01-01. | |
| trend | No | Trend shape. Non-linear trends are a Pro feature. | |
| format | No | Output format. 'json' (default), 'csv', or 'sql'. CSV and SQL are Pro features. | |
| length | No | Number of data points. Default 100. | |
| preset | No | Optional preset name (see list_presets). Fills sensible defaults; explicit params below override it. | |
| ar1_phi | No | AR(1) autocorrelation coefficient (-1..1), used when noise='ar1'. | |
| integer | No | Round values to integers. | |
| baseline | No | Baseline level the series varies around. | |
| anomalies | No | Injected anomalies for testing detection/alerting. Pro feature. | |
| frequency | No | Spacing between points. Default daily (or the preset's frequency). | |
| table_name | No | Table name for SQL output. Default 'timeseries'. | |
| correlation | No | Target pairwise correlation between multiple series (0..1). Pro feature. | |
| noise_level | No | Standard deviation of the noise. Default 1. | |
| seasonality | No | One or more seasonal cycles, summed together. Multiple cycles are a Pro feature. | |
| series_count | No | How many series to generate. >1 is a Pro feature. Default 1. | |
| trend_strength | No | Trend magnitude: slope per point (linear), growth rate (exponential), or capacity (logistic). |