Codewerk
seed data
Parses the DDL (CREATE TABLE, CREATE TYPE . AS ENUM; PostgreSQL or MySQL) and generates rows with a seeded PRNG (mulberry32 per table and column, so the same seed always gives the same data). Parents are filled before children, foreign keys point at generated parent rows (self references at earlier rows, cycles only through nullable keys), primary and unique keys stay distinct, simple CHECK constraints (IN lists, = ANY(ARRAY[.]), comparisons, BETWEEN, length) are honoured, generated.
POST https://code.halowerk.com/v1/seed-dataInputs
| Field | Type | Required | Description |
|---|---|---|---|
| ddl | string | Yes | CREATE TABLE statements (and CREATE TYPE ... AS ENUM). |
| rows | integer | No | Rows per table. |
| rows_per_table | object | No | |
| seed | integer | No | |
| null_ratio | number | No | Share of NULLs in nullable columns. |
| format | string | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"ddl"
],
"properties": {
"ddl": {
"type": "string",
"minLength": 10,
"maxLength": 500000,
"description": "CREATE TABLE statements (and CREATE TYPE ... AS ENUM)."
},
"rows": {
"type": "integer",
"minimum": 0,
"maximum": 1000,
"default": 10,
"description": "Rows per table."
},
"rows_per_table": {
"type": "object",
"maxProperties": 50,
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"default": {}
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 42
},
"null_ratio": {
"type": "number",
"minimum": 0,
"maximum": 0.9,
"default": 0.1,
"description": "Share of NULLs in nullable columns."
},
"format": {
"type": "string",
"enum": [
"both",
"json",
"sql"
],
"default": "both"
}
}
}Published input example
{
"ddl": "CREATE TABLE customers (id bigint PRIMARY KEY, email text NOT NULL UNIQUE, full_name text NOT NULL);",
"rows": 3,
"seed": 7
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea