Multi-tenant B2B SaaS test data
Accounts (tenants) with plans, seats and MRR, and users that belong to exactly one account, with login activity.
Typical uses: Testing tenant isolation, plan limits and billing reports; load-testing admin dashboards; reproducible fixtures for CI.
Download sample ZIP (CSV per table + schema.json + spec.json + quality.json, small run, seed 2026)
Checks on this sample: foreign-key integrity 100.0%, time order 100.0%. Full details in quality.json.
Tables
| Table | Columns | Foreign keys | Rows in sample | Rows in full schema |
|---|---|---|---|---|
accounts | 8 | – | 75 | 1500 |
users | 7 | account_id → accounts.account_id | 450 | 9000 |
Schema (input)
This is everything the API needs. Copy it into the free preview or send it to POST /v1/generate. Adjust names and row counts to match your database.
{
"tables": [
{
"name": "accounts",
"rows": 1500,
"description": "B2B SaaS project management tool, companies",
"columns": [
{
"name": "account_id",
"type": "uuid",
"description": "primary key"
},
{
"name": "company_name",
"type": "varchar(120)"
},
{
"name": "plan",
"type": "varchar(20)"
},
{
"name": "seats",
"type": "int"
},
{
"name": "mrr_usd",
"type": "numeric(10,2)"
},
{
"name": "industry",
"type": "varchar(40)"
},
{
"name": "signed_up_at",
"type": "timestamp"
},
{
"name": "churned",
"type": "boolean"
}
]
},
{
"name": "users",
"rows": 9000,
"columns": [
{
"name": "user_id",
"type": "bigint",
"description": "primary key"
},
{
"name": "account_id",
"type": "uuid",
"references": "accounts.account_id"
},
{
"name": "display_name",
"type": "varchar(80)"
},
{
"name": "email",
"type": "varchar(200)",
"unique": true
},
{
"name": "role",
"type": "varchar(20)"
},
{
"name": "last_login_at",
"type": "timestamp",
"nullable": true
},
{
"name": "sessions_30d",
"type": "int"
}
]
}
]
}
What you get back
spec.json is the generation spec the API derived from the schema (distributions, category weights, time order, foreign-key skew). Edit it and send it back with the same seed to get a reproducible variant. quality.json reports distribution fit, foreign-key integrity, duplicates and time order for your run; see the methodology.
All values are synthetic. No personal data is used or produced; e-mail-like and name-like columns are generated, not sampled.