Skip to main content
Twelve endpoints for synthetic population generation. All public.

POST /api/flock/connect

Connect to a database and analyze its schema.
curl

GET /api/flock/schema

Get the analyzed schema from the last connection.
curl

POST /api/flock/learn

Learn statistical patterns from existing sample data.
curl

GET /api/flock/profiles

List learned profiles.
curl

GET /api/flock/profiles/

Get a specific profile.
curl

POST /api/flock/generate

Start a generation job. Returns a job ID for polling.
curl

GET /api/flock/generate/

Poll job status.
curl

GET /api/flock/generate//analytics

Get analytics for a completed job.
curl

POST /api/flock/seed

Seed the connected database with generated data.
curl

POST /api/flock/seed/dry-run

Preview SQL without executing.
curl

DELETE /api/flock/seed/cleanup

Remove all synthetic data from the database.
curl

GET /api/flock/compliance/

Get a compliance report for a generation job.
curl