Skip to main content
POST
Seed test data

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app.

Response

What was written into the app's test data.

What a seed wrote into the app's test data.

seeded
Seeded · object
required

Records written for each entity, keyed by entity name. 0 when nothing was written.

Example:
total
integer
required

Records written across all entities.

Example:

8

generated_total
integer
required

How many of the records were made up by AI rather than copied from live data.

Example:

3

entities_with_data
integer
required

Entities that got records, or whose own test records were kept.

Example:

2

entities_without_prod_data
string[]
required

Entities that got nothing copied from live data and didn't report an error. When this call gave up waiting for another seed of the app, every entity is listed.

Example:
entities_with_errors
string[]
required

Entities whose seeding reported an error, for example because generating records timed out. An entity whose record writes all failed isn't listed. Its seeded count is 0.

Example: