Skip to main content
GET
List a team's datasources

Authorizations

Authorization
string
header
required

An API key (sk_live_...) created under Settings → API keys, or a short-lived JWT access token from a browser session. A key only reaches the scope it was granted; see API keys and scopes.

Path Parameters

teamId
string
required

Team id from GET /teams.

Response

Datasources on this team.

id
string
required
teamId
string
required
name
string
required
type
enum<string>
required
Available options:
POSTGRES,
MONGODB,
BIGQUERY
status
enum<string>
required
Available options:
PENDING,
CONNECTED,
ERROR,
DISABLED
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
exposedTableCount
integer
required
connectionMode
string
host
string | null
port
integer | null
database
string | null

The database name, or the BigQuery project id.

username
string | null
sslMode
string | null
config
object

Non-secret, per-type settings.

accessMode
enum<string>
Available options:
ROLE_BASED,
EXPLICIT
minRole
enum<string>
Available options:
OWNER,
ADMIN,
MEMBER
lastTestedAt
string<date-time> | null
lastError
string | null