cURL
curl --request POST \
--url https://app.teable.ai/api/base/%7BbaseId%7D/connection \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"baseId":"string"}'{
"dsn": {
"driver": "<string>",
"host": "<string>",
"port": 123,
"db": "<string>",
"user": "<string>",
"pass": "<string>",
"params": {}
},
"connection": {
"max": 123,
"current": 123
},
"url": "<string>"
}db-connection
Post base connection
Create a db connection url
POST
/
base
/
{baseId}
/
connection
cURL
curl --request POST \
--url https://app.teable.ai/api/base/%7BbaseId%7D/connection \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"baseId":"string"}'{
"dsn": {
"driver": "<string>",
"host": "<string>",
"port": 123,
"db": "<string>",
"user": "<string>",
"pass": "<string>",
"params": {}
},
"connection": {
"max": 123,
"current": 123
},
"url": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://help.teable.ai/llms.txt
Use this file to discover all available pages before exploring further.
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Last modified on March 5, 2026
此页面对您有帮助吗?
⌘I

