Team API key created under /api/api-keys. Prefix: sb_api_.
Path Parameters
projectId
string<uuid>
required
Project UUID in the team associated with the API key.
sourceId
string<uuid>
required
Source UUID. For runtime endpoints this identifies the source backing the table; for public v1 it identifies the source resource inside the project.
Response
Source
id
string<uuid>
slug
string
name
string
description
string | null
schemaVersionId
string<uuid>
config
object
Source configuration. For Supabase runtime targets, responses include runtimeTarget.connectionSecretId and never return plaintext runtimeTarget.connectionString.
kind
enum<string>
Available options:
postgres,
mysql
seed
string | null
generatorConfig
object | null
rateLimitRpm
integer
requireAuth
boolean
lastGenerationAt
string<date-time> | null
generationAudit
object | null
createdAt
string<date-time>
updatedAt
string<date-time> | null
⌘I
Get a source by ID
curl --request GET \ --url https://api.synthbrew.com/api/public/v1/projects/{projectId}/sources/{sourceId} \ --header 'x-api-key: <api-key>'