Developers and governance · Autessa Synthetic Data
Synthetic data CLI
Every Autessa Synthetic Data action is an Autessa CLI command under autessa synthetic-data. Propose a schema, generate rows, create and poll jobs, review staged batches, approve, append and export, all from a terminal or a script.
The problem
Test data belongs in your scripts
Seeding a staging environment or regenerating fixtures should be one command in a setup script, not a series of clicks someone has to remember.
What you get
- Thirteen commands: append, approve, cancel, create, discard, exclude-rows, export, generate, get, list, preview, propose-schema and regenerate-batch.
- Run
autessa synthetic-data <command> helpfor every argument. - Object and array arguments take JSON; the whole body can be passed with
--json. - Jobs are asynchronous:
createreturns a jobId, andgetis the command to poll. - From the CLI,
createdefaults to a JSONL dataset file written directly. - Separate profiles let one script target different companies.
How it works
How does synthetic data CLI work?
Sign in
Run
autessa login(add--profile <name>to keep several companies apart).Draft columns
Run
propose-schemawith a description to get columns you can reuse.Create a job
Run
createwith a name, description, row count and target.Poll and finish
Poll
getuntil the job is final or awaiting review, thenapprove,discardorexport.
Every option
Commands and their arguments
| Option | What it does |
|---|---|
| propose-schema | --description (required), --sampleRowsJson. |
| generate | --description, --columnDefinitions, --rowCount 1 to 50 (all required), --sampleRowsJson. |
| create | --name, --description, --rowCount 1 to 5000 (required); --targetType, --writeMode, --tableId, --createTable, --fileFormat, --columnDefinitions, --sampleRowsJson. |
| list / get | list takes no arguments; get --jobId. |
| preview | --jobId, --batchIndex (defaults to 0). |
| exclude-rows | --jobId, --batchId, --rowIndexes. |
| regenerate-batch | --jobId, --batchId. |
| approve / discard / cancel / export | --jobId. |
| append | --jobId, --additionalRowCount. |
Example
A complete job from the terminal
Replace the ids with your own.
Permissions
Who can do what?
| Who | Can |
|---|---|
| Signed-in CLI user | Everything the app allows, acting as you in your active company. |
| Table permissions | Rows written into a table are written as the person who started the job, with that person’s access to the table. |
Connected
How synthetic data CLI connects to the rest of Autessa
FAQ
Questions about synthetic data CLI
What is the default target on the CLI?
A JSONL dataset file written directly. Omit `--targetType` to get one, and pass `--columnDefinitions` for its columns.
How do I wait for a job?
Poll `autessa synthetic-data get --jobId <id>` until the status is COMPLETED, PARTIALLY_COMPLETED, FAILED, CANCELLED, DISCARDED or AWAITING_REVIEW. `get` is also the only command that returns batch ids.
Where do I install the CLI?
Follow the install and sign-in guide in the Autessa docs at docs.autessa.com/docs/cli/install.
100% customizable, code and all
Make Autessa Synthetic Data fully your own.
Use it out of the box, then change anything. Ask Autobot, Autessa’s AI builder, for a new field, screen, report, workflow or agent and it builds it into your copy of the app. Or open the code and edit it yourself. Nothing is locked: the app, its data and its code are yours.
Start free and make it yours