Catalog/gen-test-dataset

Generators

Seeded test dataset API

Generates N reproducible rows from a field schema as JSON or CSV from a seed, with each row independently seeded for stable per-row regeneration. The value-add: full, deterministic test datasets/fixtures with correct CSV escaping. Answers 'Generate N reproducible test rows from this schema', 'How do I make a stable fake CSV dataset?'.

Price$0.02per request
MethodPOST
Route/v1/generate/test-dataset
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
datasettest-dataschemafixturecsvdeterministicseedgenerate
API URLhttps://x402.hexl.dev/v1/generate/test-dataset
Integration docs
Example request
{
  "schema": [
    {
      "name": "name",
      "type": "name"
    },
    {
      "name": "score",
      "type": "int",
      "min": 0,
      "max": 100
    }
  ],
  "rows": 2,
  "seed": "abc"
}
Example response
{
  "rows": 2,
  "fields": [
    "name",
    "score"
  ],
  "data": [
    {
      "name": "Zane Lowell",
      "score": 100
    },
    {
      "name": "Devon Stone",
      "score": 7
    }
  ],
  "format": "json",
  "seed": "abc",
  "deterministic": true,
  "interpretation": "2 reproducible rows; perfect as a stable test fixture across runs."
}
Input schema
{
  "type": "object",
  "required": [
    "schema",
    "rows",
    "seed"
  ],
  "properties": {
    "schema": {
      "type": "array",
      "examples": [
        [
          {
            "name": "name",
            "type": "name"
          },
          {
            "name": "score",
            "type": "int",
            "min": 0,
            "max": 100
          }
        ]
      ]
    },
    "rows": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "examples": [
        2
      ]
    },
    "seed": {
      "type": [
        "string",
        "number"
      ],
      "examples": [
        "abc"
      ]
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "csv"
      ],
      "examples": [
        "json"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}