Skip to main content
GET
/
public
/
v1
/
projects
/
{projectId}
/
sources
/
{sourceId}
/
api-keys
List source API keys
curl --request GET \
  --url https://api.synthbrew.com/api/public/v1/projects/{projectId}/sources/{sourceId}/api-keys \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "sourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "keyPrefix": "sb_src_",
    "lastUsedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://synthbrew.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

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 API key metadata

id
string<uuid>
slug
string
sourceId
string<uuid>
keyPrefix
string
Example:

"sb_src_"

lastUsedAt
string<date-time> | null
createdAt
string<date-time>
updatedAt
string<date-time> | null