Skip to main content

Synthetic Data API

Synthetic data: generate rows, or run jobs that produce a file

  • Base URL: https://api.autessa.com
  • Auth: your API key in the Authorization header, with no Bearer prefix.
  • Guide: Synthetic Data
  • Status: 0 live, 13 in preview. Preview operations are marked.

Generate rows and get them back​

Preview POST/clients/synthetic-data/generate

For small sets: the rows come back in the response.

This operation is in preview. Its shape may change before it is generally available.

Request body

FieldTypeRequiredDescription
columnDefinitionsarray of AutessaDbColumnDefinition
descriptionstring
rowCountinteger
sampleRowsJsonstring

Response

FieldTypeRequiredDescription
rejectedRowCountinteger
rowCountinteger
rowsarray of object
curl -X POST "https://api.autessa.com/clients/synthetic-data/generate" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"columnDefinitions":[{"allowOverflow":true}]}'

List synthetic data jobs (newest first)​

Preview GET/clients/synthetic-data/jobs

This operation is in preview. Its shape may change before it is generally available.

Response

FieldTypeRequiredDescription
jobsarray of SyntheticDataJobSummaryDto
curl -X GET "https://api.autessa.com/clients/synthetic-data/jobs" \
-H "Authorization: $AUTESSA_API_KEY"

Start a synthetic data job​

Preview POST/clients/synthetic-data/jobs

Runs in the background. Output is a file by default (DATASET_FILE); table targets are not available to API keys.

This operation is in preview. Its shape may change before it is generally available.

Request body

FieldTypeRequiredDescription
columnDefinitionsarray of AutessaDbColumnDefinition
createTableCreateTableRequest
descriptionstring
fileFormatstring
namestring
rowCountinteger
sampleRowsJsonstring
tableIdstringID id.
targetTypestring
writeModestring

Response

FieldTypeRequiredDescription
jobIdstring
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"columnDefinitions":[{"allowOverflow":true}]}'

Get a job's status, progress and batches​

Preview GET/clients/synthetic-data/jobs/{jobId}

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X GET "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY"

Generate more rows into a job​

Preview POST/clients/synthetic-data/jobs/{jobId}/append

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Request body

FieldTypeRequiredDescription
additionalRowCountinteger
jobIdstring

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/append" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"additionalRowCount":1}'

Approve the staged rows​

Preview POST/clients/synthetic-data/jobs/{jobId}/approve

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/approve" \
-H "Authorization: $AUTESSA_API_KEY"

Cancel a job​

Preview POST/clients/synthetic-data/jobs/{jobId}/cancel

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/cancel" \
-H "Authorization: $AUTESSA_API_KEY"

Discard the staged rows​

Preview POST/clients/synthetic-data/jobs/{jobId}/discard

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/discard" \
-H "Authorization: $AUTESSA_API_KEY"

Leave rows out of a job​

Preview POST/clients/synthetic-data/jobs/{jobId}/exclude-rows

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Request body

FieldTypeRequiredDescription
batchIdstring
jobIdstring
rowIndexesarray of integer

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/exclude-rows" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"batchId":"string"}'

Preview GET/clients/synthetic-data/jobs/{jobId}/export

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Response

FieldTypeRequiredDescription
downloadUrlstring
curl -X GET "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/export" \
-H "Authorization: $AUTESSA_API_KEY"

Preview staged rows (REVIEW mode)​

Preview GET/clients/synthetic-data/jobs/{jobId}/preview

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes
batchIndexqueryinteger

Response

FieldTypeRequiredDescription
batchIdstring
batchIndexinteger
columnsarray of AutessaDbColumnDefinition
nextBatchIndexinteger
rowCountinteger
rowsarray of object
curl -X GET "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/preview" \
-H "Authorization: $AUTESSA_API_KEY"

Generate one batch again​

Preview POST/clients/synthetic-data/jobs/{jobId}/regenerate-batch

This operation is in preview. Its shape may change before it is generally available.

Parameters

NameInTypeRequiredDescription
jobIdpathstringYes

Request body

FieldTypeRequiredDescription
batchIdstring
jobIdstring

Response

FieldTypeRequiredDescription
jobSyntheticDataJobSummaryDto
curl -X POST "https://api.autessa.com/clients/synthetic-data/jobs/V1StGXR8Z5/regenerate-batch" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"batchId":"string"}'

Propose columns from a description​

Preview POST/clients/synthetic-data/schema/propose

This operation is in preview. Its shape may change before it is generally available.

Request body

FieldTypeRequiredDescription
descriptionstring
sampleRowsJsonstring

Response

FieldTypeRequiredDescription
schemaAutessaDbSchema
suggestedTableNamestring
curl -X POST "https://api.autessa.com/clients/synthetic-data/schema/propose" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"description":"Customer support tickets for an online shoe store"}'