curl --request GET \
--url https://your-synthbrew-server.com/api/public/v1/projects/{projectId}/sources \
--header 'x-api-key: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"schemaVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"config": {},
"kind": "postgres",
"seed": "<string>",
"generatorConfig": {},
"rateLimitRpm": 123,
"requireAuth": true,
"lastGenerationAt": "2023-11-07T05:31:56Z",
"generationAudit": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]curl --request GET \
--url https://your-synthbrew-server.com/api/public/v1/projects/{projectId}/sources \
--header 'x-api-key: <api-key>'[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"description": "<string>",
"schemaVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"config": {},
"kind": "postgres",
"seed": "<string>",
"generatorConfig": {},
"rateLimitRpm": 123,
"requireAuth": true,
"lastGenerationAt": "2023-11-07T05:31:56Z",
"generationAudit": {},
"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 list
Source configuration. For Supabase runtime targets, responses include runtimeTarget.connectionSecretId and never return plaintext runtimeTarget.connectionString.
postgres, mysql