Developers and governance · Autessa Synthetic Data
Synthetic data REST API
The Autessa Synthetic Data REST API lets your own code generate data with an Autessa API key. Generate rows on demand, propose schemas, and create, review and export dataset file jobs from tests, CI pipelines and internal tools.
The problem
Fixtures go stale
Checked-in fixture files drift away from the real schema and get reused until every test sees the same twelve customers. Generating fresh, valid data at test time keeps tests honest.
What you get
- Endpoints under https://api.autessa.com/clients/synthetic-data, authenticated with the Authorization header.
POST /generatereturns up to 50 rows in the response.POST /schema/proposedrafts columns from a description.POST /jobsstarts a job; with an API key, jobs produce dataset files.GET /jobs/{jobId}for status and batches,GET /jobs/{jobId}/exportfor the download link.- Review endpoints for approve, discard, cancel, append, exclude-rows and regenerate-batch.
How it works
How does synthetic data REST API work?
Create an API key
Create a key for your company in Autessa (see the API keys guide).
Call generate or create
Send a description and columns to
/generatefor small sets, or to/jobsfor up to 5,000 rows.Poll the job
Call
GET /jobs/{jobId}until it is final.Download
Call
GET /jobs/{jobId}/exportand download the file from the returned link.
Every option
Endpoints
| Option | What it does |
|---|---|
| POST /clients/synthetic-data/generate | Rows back directly (1 to 50). |
| POST /clients/synthetic-data/schema/propose | Draft columns from a description. |
| POST /clients/synthetic-data/jobs | Start a background job (dataset file by default). |
| GET /clients/synthetic-data/jobs | Your company’s jobs, newest first. |
| GET /clients/synthetic-data/jobs/{jobId} | Status, progress and batches. |
| GET /clients/synthetic-data/jobs/{jobId}/preview?batchIndex= | Staged rows (review mode). |
| GET /clients/synthetic-data/jobs/{jobId}/export | Temporary download link for the file. |
| POST /clients/synthetic-data/jobs/{jobId}/… | approve, discard, cancel, append, exclude-rows, regenerate-batch. |
Example
Generate rows with one request
Replace the ids with your own.
Permissions
Who can do what?
| Who | Can |
|---|---|
| API keys | Can run quick generate, propose schemas and run dataset file jobs. Table targets need a signed-in person. |
| Signed-in people | Use the app or CLI to target tables, since table writes use a person’s permissions. |
Connected
How synthetic data REST API connects to the rest of Autessa
FAQ
Questions about synthetic data REST API
Why can’t an API key fill a table?
Table writes use a signed-in person’s table permissions. With an API key, generate a dataset file (the default) or use `/generate` to get rows back directly.
How do I authenticate?
Send your Autessa API key in the Authorization header, as with the rest of the Autessa REST API.
Are API jobs visible in the app?
Yes. Jobs belong to the company, so API-created jobs appear in the Synthetic Data list too.
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