GET
/
base
/
{baseId}
/
connection
curl --request GET \
  --url https://app.teable.io/api/base/%7BbaseId%7D/connection \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "dsn": {
    "driver": "<string>",
    "host": "<string>",
    "port": 123,
    "db": "<string>",
    "user": "<string>",
    "pass": "<string>",
    "params": {}
  },
  "connection": {
    "max": 123,
    "current": 123
  },
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

baseId
string
required

Response

200 - application/json
Returns information about a db connection.
dsn
object
required
connection
object
required
url
string
required

The URL that can be used to connect to the database