curl --request GET \
--url https://your-synthbrew-server.com/api/public/v1/projects/{projectId}/sources/{sourceId}/generation-events \
--header 'x-api-key: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"sourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schemaVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trigger": "<string>",
"status": "<string>",
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"durationMs": 123,
"totalInsertedRows": 123,
"billableRows": 123,
"errorMessage": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Returns generation events ordered by newest first.
curl --request GET \
--url https://your-synthbrew-server.com/api/public/v1/projects/{projectId}/sources/{sourceId}/generation-events \
--header 'x-api-key: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"sourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"schemaVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trigger": "<string>",
"status": "<string>",
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"durationMs": 123,
"totalInsertedRows": 123,
"billableRows": 123,
"errorMessage": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Team API key created under /api/api-keys. Prefix: sb_api_.
Project UUID in the team associated with the API key.
Source UUID. For runtime endpoints this identifies the source backing the table; for public v1 it identifies the source resource inside the project.
Maximum number of latest events to return (newest first).
1 <= x <= 200Generation events
Generation trigger type (populate or regenerate).
Event status (queued, active, success, failed).
Duration in milliseconds when available.
Total generated rows inserted for this run.
Rows counted toward billing/usage for this run.
Sanitized error text when generation fails.
Additional context such as mode, targetProvider, targetSchema, targetProjectRef, and queue job details.